diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php index 78044feb55..5205ee90de 100644 --- a/actions/finishopenidlogin.php +++ b/actions/finishopenidlogin.php @@ -28,9 +28,9 @@ class FinishopenidloginAction extends Action { if (common_logged_in()) { common_user_error(_t('Already logged in.')); } else if ($_SERVER['REQUEST_METHOD'] == 'POST') { - if ($this->boolean('create')) { + if ($this->arg('create')) { $this->create_new_user(); - } else if ($this->boolean('connect')) { + } else if ($this->arg('connect')) { $this->connect_user(); } else { common_debug(print_r($this->args, true), __FILE__);