We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 40008402 authored by Evan Prodromou's avatar Evan Prodromou

check existence of args not booleanness

darcs-hash:20080618055657-84dde-269a234dd68867ca4f159031fe206e31131ef108.gz
parent cba4168d
......@@ -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__);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment