Update the ProfileSettings operation to use isDynamicCompatible

instead of the old, crufty get('profileEnabled').
This commit is contained in:
Colin Kuskie 2008-04-25 23:19:34 +00:00
parent 3abd3988c7
commit ea1dac4064

View file

@ -310,7 +310,7 @@ sub www_editProfileField {
$session->errorHandler->error($@);
next;
}
push @profileForms, $form if $w->get("profileEnabled");
push @profileForms, $form if $w->isDynamicCompatible();
}
$fieldType->set("types", \@profileForms);