Kaynağa Gözat

Anomalie #732: Err. 500: Filtres tags

Bastien Sevajol 11 yıl önce
ebeveyn
işleme
9e1d963b98

+ 1 - 1
src/Muzich/CoreBundle/Searcher/ElementSearcherQueryBuilder.php Dosyayı Görüntüle

@@ -217,7 +217,7 @@ class ElementSearcherQueryBuilder
217 217
   private function buildStrict()
218 218
   {
219 219
     // Recherche strict ou non ?
220
-    if ($this->es->getTagStrict() && count(($tags = $this->es->getTags())))
220
+    if ($this->es->getTagStrict() && count(($tags = $this->es->getTags())) && $this->es->getTags() != '[]')
221 221
     {
222 222
       // On a besoin de récupérer la liste des element_id qui ont les tags
223 223
       // demandés.