fix a bug where no data fields where available in the user profile field editor

This commit is contained in:
Colin Kuskie 2008-05-08 20:52:05 +00:00
parent e39ae106fd
commit 46a3f3a874

View file

@ -303,7 +303,7 @@ sub www_editProfileField {
-defaultValue=>"Text", -defaultValue=>"Text",
); );
my @profileForms = (); my @profileForms = ();
foreach my $form ( sort @{ $fieldType->get("types") }) { foreach my $form ( sort @{ $fieldType->getTypes() }) {
next if $form eq 'DynamicField'; next if $form eq 'DynamicField';
my $w = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$form, "new", [$session]) }; my $w = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$form, "new", [$session]) };
if ($@) { if ($@) {