From: Alexander Smirnov Date: Mon, 20 May 2024 14:21:51 +0000 (+0300) Subject: fix part 001 X-Git-Tag: 1.1~18^2~22 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=84aaa971b5c59ed5d598da82b9c41f824de68f98;p=erp24_rep%2Fyii-erp24%2F.git fix part 001 --- diff --git a/erp24/modul/shipment/ajaxUpdateStoreZakup.php b/erp24/modul/shipment/ajaxUpdateStoreZakup.php index 1ca60e1c..254a3594 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 cef86642..346dc4f5 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 .=",";