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

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