forked from GNUsocial/gnu-social
fixup argument handling in action superclass
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user