replaced return; with return undef;
This commit is contained in:
parent
ffa90c5fbd
commit
fa09c41598
113 changed files with 287 additions and 286 deletions
|
|
@ -220,14 +220,14 @@ sub getValueFromPost {
|
|||
my @files = @{ $storage->getFiles };
|
||||
if (scalar(@files) < 1) {
|
||||
$storage->delete;
|
||||
return;
|
||||
return undef;
|
||||
} else {
|
||||
my $id = $storage->getId;
|
||||
$self->set("value", $id);
|
||||
return $id;
|
||||
}
|
||||
}
|
||||
return;
|
||||
return undef;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue