From 55338e5884f93a12dd46a84832a96df1174f0a07 Mon Sep 17 00:00:00 2001 From: "Chun-Yu Lee (Mat)" <matlinuxer2@gmail.com> Date: Sat, 26 Sep 2015 11:15:50 -0500 Subject: [PATCH] try to fix issue #2024 --- account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.php b/account.php index 9cb8db232..3b0de2dea 100644 --- a/account.php +++ b/account.php @@ -30,7 +30,7 @@ elseif ($thisclient) { // Guest registering for an account if ($thisclient->isGuest()) { foreach ($thisclient->getForms() as $f) { - if ($f->get('type') == 'U') { + if ($f->get('object_type') == 'U') { $user_form = $f; $user_form->getField('email')->configure('disabled', true); } -- GitLab