fixing someone's flub

This commit is contained in:
Matthew Wilson 2006-05-08 19:51:01 +00:00
parent 5214eda00d
commit b47bfdf413

View file

@ -126,15 +126,15 @@ sub displayValue {
#------------------------------------------------------------------- #-------------------------------------------------------------------
=head2 getValueFromFormPost ( ) =head2 getValueFromPost ( )
See WebGUI::Form::File::getValueFromFormPost() for details. Generates a thumbnail. See WebGUI::Form::File::getValueFromPost() for details. Generates a thumbnail.
=cut =cut
sub getValueFromFormPost { sub getValueFromPost {
my $self = shift; my $self = shift;
my $id = $self->SUPER::getValueFromFormPost(@_); my $id = $self->SUPER::getValueFromPost(@_);
if (defined $id) { if (defined $id) {
my $storage = WebGUI::Storage::Image->get($self->session, $id); my $storage = WebGUI::Storage::Image->get($self->session, $id);
if (defined $storage) { if (defined $storage) {