fixed bug 718334

This commit is contained in:
JT Smith 2003-04-10 00:45:30 +00:00
parent 3573aa0ddd
commit 5570a9aeb4
2 changed files with 7 additions and 6 deletions

View file

@ -393,7 +393,7 @@ sub www_editUserProfileSave {
$u = WebGUI::User->new($session{form}{uid});
$a = WebGUI::SQL->read("select * from userProfileField");
while (%field = $a->hash) {
if ($field{fieldType} eq "date") {
if ($field{dataType} eq "date") {
$session{form}{$field{fieldName}} = setToEpoch($session{form}{$field{fieldName}});
}
$u->profileField($field{fieldName},$session{form}{$field{fieldName}}) if (exists $session{form}{$field{fieldName}});