We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f97ebff + 84ae746 commit 8192db0Copy full SHA for 8192db0
1 file changed
Model/Indexer/DataProvider/Category/ImageUrlRewrite.php
@@ -76,8 +76,7 @@ public function addData(array $indexData, $storeId): array
76
if ($rewriteCatMediaUrl) {
77
foreach ($indexData as $categoryId => $categoryData) {
78
foreach ($categoryData as $attributeCode => $attribute) {
79
-
80
- if ($this->checkAttributeIsImage($attributeCode)) {
+ if ($this->checkAttributeIsImage($attributeCode) && !is_null($attribute)) {
81
$processable[] = [
82
'categoryId' => $categoryId,
83
'attributeId' => $attributeCode,
0 commit comments