From b55fc1abc9f0aeb690b8882ddfffb7fd6ed7b4ec Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 21 May 2024 14:37:42 +0300 Subject: [PATCH] fix part 012 fix default --- erp24/modul/shipment/functionsShipment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/modul/shipment/functionsShipment.php b/erp24/modul/shipment/functionsShipment.php index 998f798e..014acfdc 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"; -- 2.39.5