1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Merge pull request #756 from venticello/patch-13

Фикс поиска
This commit is contained in:
Maxim Mzhelskiy 2016-04-27 17:41:27 +07:00
commit a8f935fa5f

View file

@ -73,7 +73,7 @@ class ActionSearch extends Action
/**
* Получаем список слов для поиска
*/
$aWords = $this->Search_GetWordsForSearch(getRequestStr('q'));
$aWords = $this->Search_GetWordsForSearch(mb_strtolower(getRequestStr('q'),"utf-8"));
if (!$aWords) {
$this->Message_AddErrorSingle($this->Lang_Get('search.alerts.query_incorrect'));
return;
@ -127,7 +127,7 @@ class ActionSearch extends Action
/**
* Получаем список слов для поиска
*/
$aWords = $this->Search_GetWordsForSearch(getRequestStr('q'));
$aWords = $this->Search_GetWordsForSearch(mb_strtolower(getRequestStr('q'),"utf-8"));
if (!$aWords) {
$this->Message_AddErrorSingle($this->Lang_Get('search.alerts.query_incorrect'));
return;