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
|
|
@ -181,7 +181,7 @@ Displays the image using an img tag.
|
|||
|
||||
sub getValueAsHtml {
|
||||
my ($self) = @_;
|
||||
my $value = $self->getValue;
|
||||
my $value = $self->getDefaultValue;
|
||||
return '' unless $value;
|
||||
my $location = WebGUI::Storage::Image->get($self->session, $value);
|
||||
my $file = shift @{ $location->getFiles };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue