getting value for display shouldn't process form parameters
This commit is contained in:
parent
5d35c3a56a
commit
bedac54d96
12 changed files with 13 additions and 13 deletions
|
|
@ -197,7 +197,7 @@ sub getValue {
|
|||
return $id;
|
||||
}
|
||||
}
|
||||
return undef;
|
||||
return $value;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -210,7 +210,7 @@ Displays the file as a link.
|
|||
|
||||
sub getValueAsHtml {
|
||||
my ($self) = @_;
|
||||
my $value = $self->getValue;
|
||||
my $value = $self->getDefaultValue;
|
||||
return '' unless $value;
|
||||
my $location = WebGUI::Storage->get($self->session,$value);
|
||||
my $file = shift @{ $location->getFiles };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue