forward port from branch_6_7
This commit is contained in:
parent
30e8dd957a
commit
f6f9a46eba
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ sub getValueFromPost {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $storage = WebGUI::Storage->create;
|
my $storage = WebGUI::Storage->create;
|
||||||
$storage->addFileFromFormPost($self->{name});
|
$storage->addFileFromFormPost($self->{name});
|
||||||
my @files = $storage->getFiles;
|
my @files = @{ $storage->getFiles };
|
||||||
if (scalar(@files) < 1) {
|
if (scalar(@files) < 1) {
|
||||||
$storage->delete;
|
$storage->delete;
|
||||||
return undef;
|
return undef;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue