From 549e4aba934cea4310cbf356cd87b301b10c9b4c Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 01 Mar 2011 15:30:25 -0500 Subject: [PATCH] - pl_PL localization update --- program/include/rcube_imap_generic.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index cc590e0..43b2dff 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -3321,7 +3321,7 @@ else if ($force_quotes || preg_match('/([\x00-\x20\x28-\x29\x7B\x25\x2A\x22\x5B\x5C\x5D\x7F]+)/', $string) ) { - return '"' . strtr($string, array('"'=>'\\"', '\\' => '\\\\')) . '"'; + return '"' . addcslashes($string, '\\"') . '"'; } // atom @@ -3330,7 +3330,7 @@ static function unEscape($string) { - return strtr($string, array('\\"'=>'"', '\\\\' => '\\')); + return stripslashes($string); } /** -- Gitblit v1.9.1