From 80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 19 Dec 2011 21:57:06 -0500 Subject: fixed logic bug with disabling email field --- views/default/forms/openid_client/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default/forms/openid_client/register.php b/views/default/forms/openid_client/register.php index 279d298c4..6cae2bb84 100644 --- a/views/default/forms/openid_client/register.php +++ b/views/default/forms/openid_client/register.php @@ -41,7 +41,7 @@ if (!$email_available) { $email_input = elgg_view('input/email', array( 'name' => 'email', 'value' => $vars['email'], - 'disabled' => !$email_available, + 'disabled' => $email_available, )); $openid_input = elgg_view('input/hidden', array( -- cgit v1.2.3