File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
app/code/Magento/Catalog/Model/ResourceModel/Product Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,6 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac
180
180
protected $ _scopeConfig ;
181
181
182
182
/**
183
- * Customer session
184
- *
185
183
* @var \Magento\Customer\Model\Session
186
184
*/
187
185
protected $ _customerSession ;
@@ -192,15 +190,11 @@ class Collection extends \Magento\Catalog\Model\ResourceModel\Collection\Abstrac
192
190
protected $ _localeDate ;
193
191
194
192
/**
195
- * Catalog url
196
- *
197
193
* @var \Magento\Catalog\Model\ResourceModel\Url
198
194
*/
199
195
protected $ _catalogUrl ;
200
196
201
197
/**
202
- * Product option factory
203
- *
204
198
* @var \Magento\Catalog\Model\Product\OptionFactory
205
199
*/
206
200
protected $ _productOptionFactory ;
@@ -765,7 +759,7 @@ public function addIdFilter($productId, $exclude = false)
765
759
return $ this ;
766
760
}
767
761
if (is_array ($ productId )) {
768
- if (! empty ( $ productId) ) {
762
+ if ($ productId ) {
769
763
if ($ exclude ) {
770
764
$ condition = ['nin ' => $ productId ];
771
765
} else {
You can’t perform that action at this time.
0 commit comments