fixed bug 718334
This commit is contained in:
parent
3573aa0ddd
commit
5570a9aeb4
2 changed files with 7 additions and 6 deletions
|
|
@ -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}});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue