]> git.mxchange.org Git - mailer.git/commitdiff
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 00fa83fa9c60f18353612907f2b530b0cd010b19..3a9033aedb6af0e7e6916cf210a12de948311ecd 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