]> gitweb.erp-flowers.ru Git - yii-erp24/.git/commitdiff
fix part 001
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 20 May 2024 14:21:51 +0000 (17:21 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 20 May 2024 14:21:51 +0000 (17:21 +0300)
erp24/modul/shipment/ajaxUpdateStoreZakup.php
erp24/modul/shipment/fields/min_lot.php
erp24/modul/shipment/statusFieldsSort.php

index 1ca60e1c03f4e47577f00041df592a9cff1c02ab..254a3594b675e993e9a9b6ce586f1668ad1cc103 100644 (file)
@@ -285,7 +285,7 @@ try {
         echo "</tbody></table>";
     }
 } catch (Exception $ex) {
-    echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getMessage();
+    echo $ex->getFile(). ' ' . $ex->getLine() . ' ' . $ex->getTraceAsString() . ' ' . $ex->getMessage();
     die;
 }
 $output = ob_get_contents();
index cef866425a72b31c5b5e30e8dbe71c18be5ab69e..346dc4f5314a6001c7ecda517f6d9ad1e8569fc5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-global $whereInProductsId, $data_Up;
+global $whereInProductsId, $data_up;
 
 
 if ($whereInProductsId != " in ()") {
index 78601e9d1aff4f77c925d9dbe27684513223e334..f49b8cd88f5324c087580834db94d5549b657fc7 100644 (file)
@@ -44,7 +44,7 @@ $i++;
 
 $i=0;
 $fields_hide="";
-foreach($_POST["hide"] as $v =>$p)     {
+foreach($_POST["hide"] ?? [] as $v =>$p)       {
 $v=(int)$v;    
 if($p=="on") {
 if($i!=0)  {$fields_hide .=",";