Skip to content

Commit bb77481

Browse files
Adding requestId filter
1 parent 8de90e5 commit bb77481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Oracle/M2/Advanced/ExtensionAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function processEvents($observer)
133133
$this->_queueManager->deleteByIds($script['data']['eventIds']);
134134
}
135135
$results = [self::PROCESS_KEY_SUCCESS => 0, self::PROCESS_KEY_ERROR => 0];
136-
$disabled = $this->_connectorSettings->isFlushDisabled($registration->getScope(), $registration->getScopeId()) && $script['data']['requestId'];
136+
$disabled = $this->_connectorSettings->isFlushDisabled($registration->getScope(), $registration->getScopeId()) && array_key_exists('requestId', $script['data']) && $script['data']['requestId'];
137137
if (!$disabled) {
138138
$batchSize = $this->_connectorSettings->getBatchSize($registration->getScope(), $registration->getScopeId());
139139
$errorHandlerSet = false;

0 commit comments

Comments
 (0)