-fixed bug #1338558: Profile field missing when visible/editable

This commit is contained in:
Michelle LaMar 2005-11-10 06:35:50 +00:00
parent 69f04511ec
commit 990eb0fbf3

View file

@ -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;