Update the ProfileSettings operation to use isDynamicCompatible
instead of the old, crufty get('profileEnabled').
This commit is contained in:
parent
3abd3988c7
commit
ea1dac4064
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ sub www_editProfileField {
|
||||||
$session->errorHandler->error($@);
|
$session->errorHandler->error($@);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
push @profileForms, $form if $w->get("profileEnabled");
|
push @profileForms, $form if $w->isDynamicCompatible();
|
||||||
}
|
}
|
||||||
|
|
||||||
$fieldType->set("types", \@profileForms);
|
$fieldType->set("types", \@profileForms);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue