summaryrefslogtreecommitdiff
path: root/actions/finishopenidlogin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 01:56:57 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 01:56:57 -0400
commit4000840243c507d162b6d8bf079d48a938f8e2bb (patch)
tree25f5e1a448fcf19d0ec26bb50aaea46dbed87f21 /actions/finishopenidlogin.php
parentcba4168d6280d3f7f9469e2ea7d4b1371537164b (diff)
check existence of args not booleanness
darcs-hash:20080618055657-84dde-269a234dd68867ca4f159031fe206e31131ef108.gz
Diffstat (limited to 'actions/finishopenidlogin.php')
-rw-r--r--actions/finishopenidlogin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/finishopenidlogin.php b/actions/finishopenidlogin.php
index 78044feb5..5205ee90d 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__);