Index: t3lib/class.t3lib_sqlparser.php =================================================================== --- t3lib/class.t3lib_sqlparser.php (revision 6697) +++ t3lib/class.t3lib_sqlparser.php (working copy) @@ -1239,7 +1239,7 @@ $buffer.=$v; $reg = array(); - preg_match('/\\*$/',$v,$reg); + preg_match('/\\\\$/', $v, $reg); if ($reg AND strlen($reg[0])%2) { $buffer.=$quote; } else { @@ -1271,7 +1271,6 @@ * @return string Output string */ protected function compileAddslashes($str) { -return $str; $search = array('\\', '\'', '"', "\x00", "\x0a", "\x0d", "\x1a"); $replace = array('\\\\', '\\\'', '\\"', '\0', '\n', '\r', '\Z');