aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-12-19 21:57:06 -0500
committercash <cash.costello@gmail.com>2011-12-19 21:57:06 -0500
commit80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a (patch)
treef21c11f6044fedb28ff7d13d9d063671fa4d1fb1
parent4d7ddc5164046ccecd6a901e2e959d180669dd31 (diff)
downloadelgg-80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a.tar.gz
elgg-80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a.tar.bz2
fixed logic bug with disabling email field
-rw-r--r--views/default/forms/openid_client/register.php2
1 files changed, 1 insertions, 1 deletions
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(