소스 검색

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

bastien 13 년 전
부모
커밋
25a2e16e8f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/Muzich/CoreBundle/Controller/SearchController.php

+ 2 - 0
src/Muzich/CoreBundle/Controller/SearchController.php 파일 보기

@@ -227,6 +227,8 @@ class SearchController extends Controller
227 227
         return $this->redirect($this->generateUrl('index'));
228 228
       }
229 229
     }
230
+   
231
+    $string_search = trim($string_search);
230 232
     
231 233
     if ($this->getRequest()->isXmlHttpRequest())
232 234
     {