File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/code/Magento/Wishlist/Model/ResourceModel/Item Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab
8080 protected $ _isProductNameJoined = false ;
8181
8282 /**
83+ * Adminhtml sales
84+ *
8385 * @var \Magento\Sales\Helper\Admin
8486 */
8587 protected $ _adminhtmlSales = null ;
@@ -349,7 +351,7 @@ protected function _assignProducts()
349351 /** @var \Magento\Wishlist\Model\Item $item */
350352 foreach ($ this as $ item ) {
351353 $ product = $ productCollection ->getItemById ($ item ->getProductId ());
352- if ($ product && ! $ product -> getIsHidden () ) {
354+ if ($ product ) {
353355 if ($ checkInStock && !$ product ->isInStock ()) {
354356 $ this ->removeItemByKey ($ item ->getId ());
355357 } else {
You can’t perform that action at this time.
0 commit comments