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