Procházet zdrojové kódy

Anomalie #732: Err. 500: Filtres tags

Bastien Sevajol před 12 roky
rodič
revize
9e1d963b98

+ 1 - 1
src/Muzich/CoreBundle/Searcher/ElementSearcherQueryBuilder.php Zobrazit soubor

217
   private function buildStrict()
217
   private function buildStrict()
218
   {
218
   {
219
     // Recherche strict ou non ?
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
       // On a besoin de récupérer la liste des element_id qui ont les tags
222
       // On a besoin de récupérer la liste des element_id qui ont les tags
223
       // demandés.
223
       // demandés.