Fix for the fix, should work?
authorRoland Häder <roland@mxchange.org>
Fri, 6 Nov 2009 15:29:57 +0000 (15:29 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 6 Nov 2009 15:29:57 +0000 (15:29 +0000)
inc/functions.php

index 00fa83f..3a9033a 100644 (file)
@@ -3685,7 +3685,7 @@ function escapeQuotes ($str, $single = false) {
                $str = addslashes($str);
        } else {
                // Escape only double-quotes but prevent double-quoting
-               $str = stripslashes(str_replace('"', "\\\"", $str));
+               $str = str_replace("\\\\", "\\", str_replace('"', "\\\"", $str));
        }
 
        // Return the escaped string