Skip to content
Snippets Groups Projects
Commit 55338e58 authored by Chun-Yu Lee (Mat)'s avatar Chun-Yu Lee (Mat) Committed by Jared Hancock
Browse files

try to fix issue #2024

parent 12207953
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment