Fixed bug #588231
This commit is contained in:
parent
d11bcb456c
commit
9e8ed71ef8
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ sub www_editUserProfile {
|
|||
# ORs caused problems with the array reference.
|
||||
if ($session{form}{$data{fieldName}}) {
|
||||
$default = [$session{form}{$data{fieldName}}];
|
||||
} elsif ($user{$data{fieldName}}) {
|
||||
} elsif ($user{$data{fieldName}} && (defined($values->{$user{$data{fieldName}}}))) {
|
||||
$default = [$user{$data{fieldName}}];
|
||||
} else {
|
||||
$default = eval $data{dataDefault};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue