Bug: wrong function name

This commit is contained in:
cgfhtw
2024-10-28 11:18:25 +01:00
parent 084a13316d
commit b1f4e5487d
+1 -1
View File
@@ -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;
}