Просмотр исходного кода

bug fix: recherche de tag: les spaces était pas supprimé en fin ou début de chaine: corrigé.

bastien 14 лет назад
Родитель
Сommit
25a2e16e8f
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2 0
      src/Muzich/CoreBundle/Controller/SearchController.php

+ 2 - 0
src/Muzich/CoreBundle/Controller/SearchController.php Просмотреть файл

227
         return $this->redirect($this->generateUrl('index'));
227
         return $this->redirect($this->generateUrl('index'));
228
       }
228
       }
229
     }
229
     }
230
+   
231
+    $string_search = trim($string_search);
230
     
232
     
231
     if ($this->getRequest()->isXmlHttpRequest())
233
     if ($this->getRequest()->isXmlHttpRequest())
232
     {
234
     {