From fb997d3ca99f1ca578be196e319d0b92ff2e5390 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 6 Nov 2009 15:29:57 +0000 Subject: [PATCH] Fix for the fix, should work? --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5