Pārlūkot izejas kodu

search tag fix: erreur de frappe.

bastien 13 gadus atpakaļ
vecāks
revīzija
6f333ed2ec

+ 3 - 3
src/Muzich/CoreBundle/Controller/SearchController.php Parādīt failu

309
         );
309
         );
310
         
310
         
311
         $words_tag = array_merge(
311
         $words_tag = array_merge(
312
-          explode(' ', $tag['slug']), 
313
-          explode('-', $tag['slug'])
312
+          explode(' ', $counted['tag']['slug']), 
313
+          explode('-', $counted['tag']['slug'])
314
         );
314
         );
315
-                
315
+        
316
         if (count($words_search) == count($words_tag))
316
         if (count($words_search) == count($words_tag))
317
         {
317
         {
318
           $same_found = true;
318
           $same_found = true;