Marius Cramer
2014-09-26 132081c0e69f0313ccb0d23637499e940d29f470
interface/lib/classes/db_mysql.inc.php
@@ -138,6 +138,7 @@
            $chars = array(';', '#', '/*', '*/', '--', ' UNION ', '\\\'', '\\"');
      
            $string = str_replace('\\\\', '', $string);
            $string = preg_replace('/(^|[^\\\])([\'"])\\2/is', '$1', $string);
            $string = preg_replace('/(^|[^\\\])([\'"])(.*?[^\\\])\\2/is', '$1', $string);
            $ok = true;