From c7f53dcda1ad5fc807c7601d11f95973d912f143 Mon Sep 17 00:00:00 2001 From: Hidayet Ok Date: Thu, 8 Jun 2017 16:58:25 +0300 Subject: [PATCH] null equality issue if ($ovalue !== false && $ovalue != null) returns wrong result in php 5.6.30 and sets $ovalue as false --- magmi/engines/magmi_productimportengine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magmi/engines/magmi_productimportengine.php b/magmi/engines/magmi_productimportengine.php index cbdd613f..cf0070aa 100755 --- a/magmi/engines/magmi_productimportengine.php +++ b/magmi/engines/magmi_productimportengine.php @@ -1678,7 +1678,7 @@ public function createAttributes($pid, &$item, $attmap, $isnew, $itemids) } } // if we have something to do with this value - if ($ovalue !== false && $ovalue != null) + if ($ovalue !== false && $ovalue !== null) { $data[] = $this->getProductEntityType(); $data[] = $attid;