bug recherche vide

This commit is contained in:
Fred Tempez 2020-08-17 15:36:31 +02:00
parent bd12f3d5d9
commit 4c43750e3a
1 changed files with 1 additions and 1 deletions

View File

@ -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']) &&