Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 5f670aa

Browse files
committed
MAGETWO-72875: Incorrect catalog rule price for bundle product with custom option
1 parent b62df9f commit 5f670aa

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/Product/Option

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Option/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function setProduct($product)
190190
*/
191191
public function getProduct()
192192
{
193-
if (is_null($this->_product)) {
193+
if ($this->_product === null) {
194194
$this->_product = $this->getOption()->getProduct();
195195
}
196196
return $this->_product;

0 commit comments

Comments
 (0)