Bug #23099 » bug_14997.patch
t3lib/class.t3lib_db.php (working copy) | ||
---|---|---|
* @see quoteStr()
|
||
*/
|
||
function escapeStrForLike($str, $table) {
|
||
return preg_replace('/[_%]/', '\\\$0', $str);
|
||
return str_replace(array('_', '%'), array('\_', '\%'), $str);
|
||
}
|
||
/**
|