Skip to content

Commit

Permalink
fix: prevent undefined index issue
Browse files Browse the repository at this point in the history
  • Loading branch information
helsner committed Oct 27, 2023
1 parent 6d92325 commit 14a19af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Processor/ImgProxyProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public function processTask(TaskInterface $task)
);
$urlBuilder->setResizeType('force');
} elseif (
str_ends_with($processingConfiguration['width'], 'c') ||
str_ends_with($processingConfiguration['height'], 'c')
str_ends_with($processingConfiguration['width'] ?? '', 'c') ||
str_ends_with($processingConfiguration['height'] ?? '', 'c')
) {
$urlBuilder->setResizeType('fill');
}
Expand Down

0 comments on commit 14a19af

Please sign in to comment.