Skip to content

Commit

Permalink
fix PHP 7.4 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mardl committed Jul 2, 2021
1 parent e3b25ab commit 7e7c279
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 20.0.13

## Bugfixes

* Fixed: PHP 7.4 warning

## Features

* None

# Version 20.0.12

## Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion src/Listeners/SortCategoryListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function handle(EventInterface $event, SubjectInterface $subject = null)
// iterate over ALL rows found in the actual CSV file
foreach ($newCategories as $newCategory) {
// we only want to process main rows, so temporary persist store view specific rows
if ($newCategory[ColumnKeys::STORE_VIEW_CODE]) {
if (isset($newCategory[ColumnKeys::STORE_VIEW_CODE])) {
$this->storeViewRows[] = $this->template($newCategory);
} else {
// clean-up the path to avoid encoding/quotation specific differences
Expand Down

0 comments on commit 7e7c279

Please sign in to comment.