mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 09:04:28 +00:00
Bug: wrong function name
This commit is contained in:
@@ -778,7 +778,7 @@ class SearchBarLib
|
|||||||
if (strstr($tpl, '{word}'))
|
if (strstr($tpl, '{word}'))
|
||||||
$tpl = str_replace('{word}', $this->_ci->db->escape($word), $tpl);
|
$tpl = str_replace('{word}', $this->_ci->db->escape($word), $tpl);
|
||||||
if (strstr($tpl, '{like:word}'))
|
if (strstr($tpl, '{like:word}'))
|
||||||
$tpl = str_replace('{like:word}', "'%" . $this->_ci->db->escapeLike($word) . "%'", $tpl);
|
$tpl = str_replace('{like:word}', "'%" . $this->_ci->db->escape_like_str($word) . "%'", $tpl);
|
||||||
|
|
||||||
return $tpl;
|
return $tpl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user