fixing someone's flub
This commit is contained in:
parent
5214eda00d
commit
b47bfdf413
1 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue