From: Evan Prodromou Date: Sat, 17 May 2008 16:23:05 +0000 (-0400) Subject: fixup argument handling in action superclass X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5b660a468ef94f8d96ed5b93774567e5d832136;p=quix0rs-gnu-social.git fixup argument handling in action superclass darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz --- 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; + } } }