Fix another smart match/! binding problem
This commit is contained in:
parent
93b30c6ac2
commit
636bde7131
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ sub getValue {
|
|||
my @files = @{$storage->getFiles};
|
||||
my @images = grep{$storage->isImage($_)} @files; # Put all filenames that isImage returns true for into @images
|
||||
if ($self->get('forceImageOnly')) {
|
||||
$storage->deleteFile($_) for grep{ ! $_ ~~ @images } @files; # Search @files for filenames that are not in @images and delete them
|
||||
$storage->deleteFile($_) for grep{ ! ($_ ~~ @images) } @files; # Search @files for filenames that are not in @images and delete them
|
||||
@files = @images;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue