Project

General

Profile

Bug #23099 » bug_14997.patch

Administrator Admin, 2010-07-04 22:49

View differences:

t3lib/class.t3lib_db.php (working copy)
* @see quoteStr()
*/
function escapeStrForLike($str, $table) {
return preg_replace('/[_%]/', '\\\$0', $str);
return str_replace(array('_', '%'), array('\_', '\%'), $str);
}
/**
(1-1/3)