From: Alexander Smirnov Date: Tue, 21 May 2024 11:37:42 +0000 (+0300) Subject: fix part 012 fix default X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=b55fc1abc9f0aeb690b8882ddfffb7fd6ed7b4ec;p=yii-erp24%2F.git fix part 012 fix default --- diff --git a/erp24/modul/shipment/functionsShipment.php b/erp24/modul/shipment/functionsShipment.php index 998f798..014acfd 100644 --- a/erp24/modul/shipment/functionsShipment.php +++ b/erp24/modul/shipment/functionsShipment.php @@ -745,7 +745,7 @@ foreach($massivSQL as $productId =>$array) { try { if(empty($storeId)) $storeIdData="NULL"; else $storeIdData=$storeId; if(empty($color)) $colorData="NULL"; else $colorData=$color; - $oldvalue=$FiledsData[$field_name][$productId][$storeIdData][$colorData]; + $oldvalue=$FiledsData[$field_name][$productId][$storeIdData][$colorData] ?? ''; // $oldtitle=$FiledsData["title__".$field_name][$productId][$storeIdData][$colorData]; // if($print==true) echo"
!!!--------$field_name =$value oldtitle=$oldtitle $title";