summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-09-07 13:22:10 +0400
committerAndrew Dolgov <[email protected]>2010-09-07 13:22:10 +0400
commit5fa173729e21c4b0a222541a0f9e939711cf1989 (patch)
treedffe772e873ef4acc42fe05e564c1b6604c7d659 /backend.php
parent84c7b824fb02344e1163f18ba9644187083d2db5 (diff)
make sure magic quote workaround actually works
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index 7c28da60f..c30629167 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);