]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
fix part 012 fix default
authorAlexander Smirnov <fredeom@mail.ru>
Tue, 21 May 2024 11:37:42 +0000 (14:37 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Tue, 21 May 2024 11:37:42 +0000 (14:37 +0300)
erp24/modul/shipment/functionsShipment.php

index 998f798e33725b3b604d737a4f2612dce325bd49..014acfdc4d8cb13de9e482a7545393f77185e079 100644 (file)
@@ -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"<br>!!!--------$field_name =$value oldtitle=$oldtitle  $title";