From d40dca2daf6eb7f90947e00260b59f6bdece24af Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 4 Oct 2021 20:15:46 +0300 Subject: [PATCH] update connect anbuy --- app/routes/anpay.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/routes/anpay.php b/app/routes/anpay.php index 11113bc..a3cb695 100644 --- a/app/routes/anpay.php +++ b/app/routes/anpay.php @@ -206,8 +206,7 @@ function sendstatus_kuri(){ if (isset($find_client['client_id'])){ $upd = "UPDATE `anbuy` SET `client_id` = '{$find_client['client_id']}' WHERE `buy_id` = '{$order['buy_id']}'"; - echo "sql: $upd\n"; - db_get("UPDATE `anbuy` SET `client_id` = '{$find_client['client_id']}' WHERE `buy_id` = '{$order['buy_id']}'"); + db_get($upd, 'chitatel'); } $message = "Ваш заказ выполнен.