summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/action.php b/lib/action.php
index a4cae7066..06d3901d1 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -40,11 +40,7 @@ class Action { // lawsuit
}
function handle($argarray) {
- $strip = get_magic_quotes_gpc();
- $this->args = array();
- foreach ($argarray as $k => $v) {
- $this->args[$k] = ($strip) ? stripslashes($v) : $v;
- }
+ $this->args =& common_copy_args($argarray);
}
function boolean($key, $def=false) {