From: Roland Häder 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=fb997d3ca99f1ca578be196e319d0b92ff2e5390;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