Fixed bug 725211
This commit is contained in:
parent
402d22e8c9
commit
af4efc0333
2 changed files with 6 additions and 4 deletions
|
|
@ -412,9 +412,10 @@ The name of the property to retrieve the value for.
|
|||
=cut
|
||||
|
||||
sub getValue {
|
||||
my $currentValue = $_[0]->get($_[1]);
|
||||
if (exists $session{form}{$_[1]}) {
|
||||
return $session{form}{$_[1]};
|
||||
} elsif (defined $_[0]->get($_[1])) {
|
||||
} elsif (defined $currentValue) {
|
||||
return $_[0]->get($_[1]);
|
||||
} else {
|
||||
return $_[0]->getDefaultValue($_[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue