fixup argument handling in action superclass
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz
This commit is contained in:
parent
669f494922
commit
a5b660a468
@ -35,6 +35,9 @@ class Action { // lawsuit
|
|||||||
}
|
}
|
||||||
|
|
||||||
function handle($args) {
|
function handle($args) {
|
||||||
$this->args = copy($argarray);
|
$this->args = array();
|
||||||
|
foreach ($args as $k => $v) {
|
||||||
|
$this->args[$k] = $v;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user