make sure magic quote workaround actually works
This commit is contained in:
parent
84c7b824fb
commit
5fa173729e
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
/* remove ill effects of magic quotes */
|
/* remove ill effects of magic quotes */
|
||||||
|
|
||||||
if (!get_magic_quotes_gpc()) {
|
if (get_magic_quotes_gpc()) {
|
||||||
function stripslashes_deep($value) {
|
function stripslashes_deep($value) {
|
||||||
$value = is_array($value) ?
|
$value = is_array($value) ?
|
||||||
array_map('stripslashes_deep', $value) : stripslashes($value);
|
array_map('stripslashes_deep', $value) : stripslashes($value);
|
||||||
|
|
Loading…
Reference in New Issue