1
0
Fork 0
Dieser Commit ist enthalten in:
DSB 2011-06-19 22:16:17 +00:00
Ursprung 15c13fd0cd
Commit 0755afb426

Datei anzeigen

@ -194,8 +194,8 @@ class Msd_Sql_Object
$string = substr($this->_data, $pointer, $nextHit); $string = substr($this->_data, $pointer, $nextHit);
$string = str_replace('\\\\', '', trim($string)); $string = str_replace('\\\\', '', trim($string));
$quotes = substr_count($string, '\''); $quotes = substr_count($string, '\'');
$escaped_quotes = substr_count($string, '\\\''); $escapedQuotes = substr_count($string, '\\\'');
if (($quotes - $escaped_quotes) % 2 == 0) { if (($quotes - $escapedQuotes) % 2 == 0) {
// hit was not escaped - we found the match // hit was not escaped - we found the match
$notFound = false; $notFound = false;
} else { } else {