diff --git a/actions/register.php b/actions/register.php index 5397078d8f..80cc6aa7e2 100644 --- a/actions/register.php +++ b/actions/register.php @@ -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.')); diff --git a/lib/action.php b/lib/action.php index c882f0696e..e604b1304d 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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; } }