Skip to content

Commit

Permalink
[BUGFIX] Fix warning if as is not set (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
twoldanski authored May 20, 2024
1 parent 1a7ba47 commit 21cdcd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/DataProcessing/DataProcessingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function removeDataIfnotAppendInConfiguration(array $processorConfigur
if (!isset($processorConfiguration['appendData']) ||
(int)$processorConfiguration['appendData'] === 0) {
unset($processedData['data']);
if (isset($processedData[$processorConfiguration['as']])
if (isset($processorConfiguration['as'], $processedData[$processorConfiguration['as']])
&& is_array($processedData[$processorConfiguration['as']])) {
foreach ($processedData[$processorConfiguration['as']] as &$item) {
if (isset($item['data'])) {
Expand Down

0 comments on commit 21cdcd4

Please sign in to comment.