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 $storage = WebGUI::Storage->create;
|
||||
$storage->addFileFromFormPost($self->{name});
|
||||
my @files = $storage->getFiles;
|
||||
my @files = @{ $storage->getFiles };
|
||||
if (scalar(@files) < 1) {
|
||||
$storage->delete;
|
||||
return undef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue