- Fixed a problem where profile data would be mixed between the current user

and the user your viewing the profile of.
This commit is contained in:
JT Smith 2005-12-16 17:33:48 +00:00
parent 6944fe3316
commit a16b470dd4
5 changed files with 13 additions and 11 deletions

View file

@ -164,7 +164,7 @@ sub www_viewProfile {
next if ($field->get("fieldName") eq "email" && !$u->profileField("publicEmail"));
push(@array, {
'profile.label' => $field->getLabel,
'profile.value' => $field->formField({dataDefault => $u->profileField($field->getId)},2)
'profile.value' => $field->formField(undef,2,$u)
});
}
}