]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup argument handling in action superclass
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:23:05 +0000 (12:23 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:23:05 +0000 (12:23 -0400)
darcs-hash:20080517162305-84dde-92b12e54f367528cc0d8454c14ca2f1616eeb8e4.gz

lib/action.php

index f8442a1f02b81c6388b753cf685e15acc56a7fb6..c882f0696efe3cc291771c682aee6c10cbbdbddf 100644 (file)
@@ -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;
+               }
        }
 }