From: Andrew Dolgov Date: Tue, 7 Sep 2010 09:22:10 +0000 (+0400) Subject: make sure magic quote workaround actually works X-Git-Tag: 1.4.3-proper~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5fa173729e21c4b0a222541a0f9e939711cf1989;p=tt-rss.git make sure magic quote workaround actually works --- diff --git a/backend.php b/backend.php index 7c28da60..c3062916 100644 --- a/backend.php +++ b/backend.php @@ -3,7 +3,7 @@ /* remove ill effects of magic quotes */ - if (!get_magic_quotes_gpc()) { + if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);