From: Alexander Smirnov Date: Tue, 18 Jun 2024 09:41:02 +0000 (+0300) Subject: Значения по умолчанию для отсутствующего в таблице параметра quantity_zakup_fact_summ X-Git-Tag: 1.3~54^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=b2855522a2950a91a7543290ae02be459f1cfd65;p=erp24_rep%2Fyii-erp24%2F.git Значения по умолчанию для отсутствующего в таблице параметра quantity_zakup_fact_summ --- diff --git a/erp24/modul/shipment/functionsShipment.php b/erp24/modul/shipment/functionsShipment.php index 6bf0818d..ec544e9d 100644 --- a/erp24/modul/shipment/functionsShipment.php +++ b/erp24/modul/shipment/functionsShipment.php @@ -722,8 +722,8 @@ if(!empty($bgNew)) $bg=$bgNew; function insert_store_orders_fields($massivSQL,$field_name,$massivTitle=[], $print=false) { global $db,$orderId,$storeIdToGuidArray,$fieldsRows, $FiledsData; - $field_id=$fieldsRows[$field_name]["id"]; - $type=$fieldsRows[$field_name]["type"]; + $field_id=$fieldsRows[$field_name]["id"] ?? 0; + $type=$fieldsRows[$field_name]["type"] ?? ''; $divisionFieldsArray=["division_store","division_store_hand","division_store_summ"];