mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-04 05:39:28 +00:00
Bug: wrong function name
This commit is contained in:
@@ -778,7 +778,7 @@ class SearchBarLib
|
||||
if (strstr($tpl, '{word}'))
|
||||
$tpl = str_replace('{word}', $this->_ci->db->escape($word), $tpl);
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user