From 990eb0fbf3716820b81e62df07ce0ec5ab93db3e Mon Sep 17 00:00:00 2001 From: Michelle LaMar Date: Thu, 10 Nov 2005 06:35:50 +0000 Subject: [PATCH] -fixed bug #1338558: Profile field missing when visible/editable --- lib/WebGUI/Operation/Profile.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Profile.pm b/lib/WebGUI/Operation/Profile.pm index 6c2e13aa9..90306194c 100644 --- a/lib/WebGUI/Operation/Profile.pm +++ b/lib/WebGUI/Operation/Profile.pm @@ -185,6 +185,7 @@ sub www_editProfile { if ($data->{required}) { $hash{'profile.form.element.subtext'} = "*"; } + push(@profile,\%hash); if (($previousCategory && $category ne $previousCategory) || $counter eq $a->rows) { my @temp = @profile; my $hashRef; @@ -193,7 +194,6 @@ sub www_editProfile { push(@array,$hashRef); @profile = (); } - push(@profile,\%hash); $previousCategory = $category; } $a->finish;