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 2593a4e commit 26f90bcCopy full SHA for 26f90bc
app/code/Magento/Catalog/Model/ResourceModel/Category/Collection.php
@@ -155,7 +155,7 @@ public function addIdFilter($categoryIds)
155
$condition = $categoryIds;
156
} elseif (is_string($categoryIds)) {
157
$ids = explode(',', $categoryIds);
158
- if (empty($ids)) {
+ if (count($ids) == 0) {
159
160
} else {
161
$condition = ['in' => $ids];
0 commit comments