diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:23:05 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-17 12:23:05 -0400 |
commit | a5b660a468ef94f8d96ed5b93774567e5d832136 (patch) | |
tree | 0574dc54e23a2b97a34e91a3b505b4182168553c /lib/action.php | |
parent | 669f494922df170db2703f14222d1b8dc4813300 (diff) |
fixup argument handling in action superclass
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php index f8442a1f0..c882f0696 100644 --- a/lib/action.php +++ b/lib/action.php @@ -35,6 +35,9 @@ class Action { // lawsuit } function handle($args) { - $this->args = copy($argarray); + $this->args = array(); + foreach ($args as $k => $v) { + $this->args[$k] = $v; + } } } |