getting value for display shouldn't process form parameters

This commit is contained in:
Graham Knop 2008-06-10 18:35:23 +00:00
parent 5d35c3a56a
commit bedac54d96
12 changed files with 13 additions and 13 deletions

View file

@ -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 };