From a5b660a468ef94f8d96ed5b93774567e5d832136 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 12:23:05 -0400 Subject: [PATCH] fixup argument handling in action superclass darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz --- lib/action.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/action.php b/lib/action.php index f8442a1f02..c882f0696e 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; + } } }