]> git.wh0rd.org - tt-rss.git/commitdiff
make sure magic quote workaround actually works
authorAndrew Dolgov <fox@bah.org.ru>
Tue, 7 Sep 2010 09:22:10 +0000 (13:22 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Tue, 7 Sep 2010 09:22:10 +0000 (13:22 +0400)
backend.php

index 7c28da60f394ee503d1ab685ce52294e1c746f51..c30629167a977ab06ad6d7989473b13ac11453bb 100644 (file)
@@ -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);