From 4c43750e3af52607c5dead255bc437c851000376 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 17 Aug 2020 15:36:31 +0200 Subject: [PATCH] bug recherche vide --- module/search/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/search/search.php b/module/search/search.php index 7e58d779..55be5062 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -94,7 +94,7 @@ class search extends common { $keywords = substr($keywords,0,strlen($keywords) - 1); $keywords .= ')/i'; //echo $keywords; - if ($keywords !== "" && strlen($keywords) > 2) { + if (self::$motclef !== "" && strlen($keywords) > 2) { foreach($this->getHierarchy(null,false,null) as $parentId => $childIds) { if ($this->getData(['page', $parentId, 'disable']) === false && $this->getUser('group') >= $this->getData(['page', $parentId, 'group']) &&