From 84aaa971b5c59ed5d598da82b9c41f824de68f98 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 20 May 2024 17:21:51 +0300 Subject: [PATCH] fix part 001 --- erp24/modul/shipment/ajaxUpdateStoreZakup.php | 2 +- erp24/modul/shipment/fields/min_lot.php | 2 +- erp24/modul/shipment/statusFieldsSort.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erp24/modul/shipment/ajaxUpdateStoreZakup.php b/erp24/modul/shipment/ajaxUpdateStoreZakup.php index 1ca60e1..254a359 100644 --- a/erp24/modul/shipment/ajaxUpdateStoreZakup.php +++ b/erp24/modul/shipment/ajaxUpdateStoreZakup.php @@ -285,7 +285,7 @@ try { echo ""; } } catch (Exception $ex) { - echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getMessage(); + echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getTraceAsString() . ' ' . $ex->getMessage(); die; } $output = ob_get_contents(); diff --git a/erp24/modul/shipment/fields/min_lot.php b/erp24/modul/shipment/fields/min_lot.php index cef8664..346dc4f 100644 --- a/erp24/modul/shipment/fields/min_lot.php +++ b/erp24/modul/shipment/fields/min_lot.php @@ -1,6 +1,6 @@ $p) { +foreach($_POST["hide"] ?? [] as $v =>$p) { $v=(int)$v; if($p=="on") { if($i!=0) {$fields_hide .=","; -- 2.39.5