diff --git a/json.php b/json.php index 028b712..0e4f056 100644 --- a/json.php +++ b/json.php @@ -44,9 +44,7 @@ // break; case 'POST': foreach ($_POST as $key=>$val) { - if (get_magic_quotes_gpc()) { - $val = stripslashes($val); - } + $val = stripslashes($val); $dec = @json_decode($val, true); if ($dec === NULL) { $err = response('Error decoding the argument '.quot($key).' => '.var_dump_inl($val), 400);