]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
try to fix arghandling in action
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:37:49 +0000 (12:37 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:37:49 +0000 (12:37 -0400)
darcs-hash:20080517163749-84dde-a323b2b956a0912c5dc2cb93a83714dad64064a0.gz

actions/register.php
lib/action.php

index 5397078d8fe298b65205061574726144a2eb73a2..80cc6aa7e271543c5706ea187aff07a90f86babd 100644 (file)
@@ -22,7 +22,7 @@ if (!defined('LACONICA')) { exit(1); }
 class RegisterAction extends Action {
        
        function handle($args) {
-               parent::handle($this, $args);
+               parent::handle($args);
                
                if (common_logged_in()) {
                        common_user_error(_t('Already logged in.'));
index c882f0696efe3cc291771c682aee6c10cbbdbddf..e604b1304d93cdbe334193c91adf75586457fe32 100644 (file)
@@ -34,9 +34,9 @@ class Action { // lawsuit
                }
        }
        
-       function handle($args) {
+       function handle($argarray) {
                $this->args = array();
-               foreach ($args as $k => $v) {
+               foreach ($argarray as $k => $v) {
                        $this->args[$k] = $v;
                }
        }