From fd4c6d02b1cd56732157b510c12ca521cff22bb5 Mon Sep 17 00:00:00 2001 From: Nestor <npegane@hotmail.com> Date: Mon, 23 Oct 2017 17:02:50 +0200 Subject: [PATCH] FIX #6128 Condition added for spaces in mail subject --- apps/maarch_entreprise/class/class_lists_Abstract.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/maarch_entreprise/class/class_lists_Abstract.php b/apps/maarch_entreprise/class/class_lists_Abstract.php index 6b74b5abc1b..653099ef6df 100755 --- a/apps/maarch_entreprise/class/class_lists_Abstract.php +++ b/apps/maarch_entreprise/class/class_lists_Abstract.php @@ -1126,8 +1126,11 @@ abstract class lists_Abstract extends Database else return "false"; } else { - // return $this->_highlightWords($resultTheLine[$i]['value'], $this->whatSearch); //highlight mode - return str_replace(" ", " ", $resultTheLine[$i]['value']); + if($resultTheLine[$i]['column']=='subject'){ + return str_replace(" ", " ", $resultTheLine[$i]['value']); + } else { + return $resultTheLine[$i]['value']; + } } } } -- GitLab