File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Rule/Model/Condition/Product Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ public function validate(\Magento\Framework\Model\AbstractModel $model)
518
518
$ attrCode = $ this ->getAttribute ();
519
519
520
520
if ('category_ids ' == $ attrCode ) {
521
- return $ this ->validateAttribute ($ model ->getAvailableInCategories ($ model ));
521
+ return $ this ->validateAttribute ($ model ->getAvailableInCategories ());
522
522
} elseif (!isset ($ this ->_entityAttributeValues [$ model ->getId ()])) {
523
523
if (!$ model ->getResource ()) {
524
524
return false ;
@@ -633,7 +633,7 @@ public function validateByEntityId($productId)
633
633
}
634
634
635
635
/**
636
- * Retrieve category ids where productId is available
636
+ * Retrieve category ids where product is available
637
637
*
638
638
* @param int $productId
639
639
* @return array
You can’t perform that action at this time.
0 commit comments