From 46a3f3a874b7ccca2e26343d30efa04e41403918 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 8 May 2008 20:52:05 +0000 Subject: [PATCH] fix a bug where no data fields where available in the user profile field editor --- lib/WebGUI/Operation/ProfileSettings.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/ProfileSettings.pm b/lib/WebGUI/Operation/ProfileSettings.pm index 25afa30a1..f0591a7fe 100644 --- a/lib/WebGUI/Operation/ProfileSettings.pm +++ b/lib/WebGUI/Operation/ProfileSettings.pm @@ -303,7 +303,7 @@ sub www_editProfileField { -defaultValue=>"Text", ); my @profileForms = (); - foreach my $form ( sort @{ $fieldType->get("types") }) { + foreach my $form ( sort @{ $fieldType->getTypes() }) { next if $form eq 'DynamicField'; my $w = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$form, "new", [$session]) }; if ($@) {