We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94fb923 commit 03654f8Copy full SHA for 03654f8
app/code/Magento/Cron/Observer/ProcessCronQueueObserver.php
@@ -807,7 +807,7 @@ private function isGroupInFilter($groupId): bool
807
private function isGroupInExcludeFilter($groupId): bool
808
{
809
$excludeGroup = $this->_request->getParam('exclude-group', []);
810
- return in_array($groupId, $excludeGroup);
+ return is_array($excludeGroup) && in_array($groupId, $excludeGroup);
811
}
812
813
/**
0 commit comments