From: quix0r Date: Fri, 6 Nov 2009 15:29:57 +0000 (+0000) Subject: Fix for the fix, should work? X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=09462c6f9c5b4b168e64e12e38d8fe57aa913bc5;p=mailer.git Fix for the fix, should work? --- diff --git a/inc/functions.php b/inc/functions.php index 00fa83fa9c..3a9033aedb 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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