diff options
-rw-r--r-- | lib/action.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index 9b7988a19..c346c7513 100644 --- a/lib/action.php +++ b/lib/action.php @@ -40,9 +40,10 @@ class Action { // lawsuit } function handle($argarray) { + $strip = get_magic_quotes_gpc(); $this->args = array(); foreach ($argarray as $k => $v) { - $this->args[$k] = $v; + $this->args[$k] = ($strip) ? stripslashes($v) : $v; } } } |