make sure magic quote workaround actually works

master
Andrew Dolgov 14 years ago
parent 84c7b824fb
commit 5fa173729e

@ -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);

Loading…
Cancel
Save