summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-19 10:11:07 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-19 10:11:07 -0400
commit0d8de282b239e663d5c4dacef7afade846e5cb23 (patch)
treefcb7e76600c482a0f38de5f8f453b9e5c704f663 /lib/action.php
parent08035caa5b6a20affe5772c84a8d786927296b72 (diff)
copy args function
darcs-hash:20080619141107-84dde-a5e018fdac3f72eee13b3093fbd871299cda0739.gz
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) {