From 88c359df7830c771248b45a903e646a733ae55f8 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 1 Jul 2024 21:00:49 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=B5=D0=B1=D0=B0=D0=B3=20012?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/modul/shipment/config.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/erp24/modul/shipment/config.php b/erp24/modul/shipment/config.php index ab23f4f9..6d890106 100644 --- a/erp24/modul/shipment/config.php +++ b/erp24/modul/shipment/config.php @@ -116,7 +116,7 @@ $status_json=array(); } } $db::sql("UPDATE store_orders_statuses SET dostup=?,groups=?, stores_show=? WHERE id=?",[json_encode($status_json,JSON_UNESCAPED_UNICODE), $groups_sql, $stores_show, $status_id ]); -$xxx = json_encode($status_json,JSON_UNESCAPED_UNICODE); + //echo"
$status_id $status_json"; } @@ -128,15 +128,13 @@ foreach($data3 as $row) { $store_orders_statuses[$row["id"]]=$row["name"]; $statuses_groups[$row["id"]]=explode(",",$row["groups"]); $statuses_dostup[$row["id"]]=json_decode($row["dostup"],true,512,JSON_UNESCAPED_UNICODE); -if ($row['id'] == 5) { - $yyy = $row["dostup"]; -} -$statuses_stores_show[$row["id"]]=$row["stores_show"]; +$statuses_stores_show[$row["id"]]=$row["stores_show"]; } } -echo strcmp($xxx, $yyy); +var_dump($statuses_dostup[5][70][17]['dostup']); +var_dump($statuses_dostup[5][70][17]['bg']); ///////// $data=$db::getRows("SELECT id,fields_sort,fields_hide FROM store_orders_statuses WHERE posit>0 "); -- 2.39.5