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

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')) {
} else if ($this->boolean('connect')) {
} else if ($this->arg('connect')) {
} 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