Bug #21887 » 13104_core.diff
t3lib/class.t3lib_sqlparser.php (working copy) | ||
---|---|---|
$buffer.=$v;
|
||
$reg = array();
|
||
preg_match('/\\*$/',$v,$reg);
|
||
preg_match('/\\\\$/', $v, $reg);
|
||
if ($reg AND strlen($reg[0])%2) {
|
||
$buffer.=$quote;
|
||
} else {
|
||
... | ... | |
* @return string Output string
|
||
*/
|
||
protected function compileAddslashes($str) {
|
||
return $str;
|
||
$search = array('\\', '\'', '"', "\x00", "\x0a", "\x0d", "\x1a");
|
||
$replace = array('\\\\', '\\\'', '\\"', '\0', '\n', '\r', '\Z');
|
||