From 109efb65e25c906654bd5ac64dfd41badff77922 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 11 Jul 2024 15:58:32 +0200 Subject: [PATCH] aa --- routes/web.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index 3e9e0289..c364938a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2172,9 +2172,9 @@ function updateCreate($request) { $productLogger->addLog('', 'updatecreate: ARRIVATO ORDINE ' . $request->payment_method . ' ' . $request->status); $myidInternet = (int) $request->id; - $CodClienteInternet = $request->customer_id; + $CodClienteInternet = (int) $request->customer_id; - if ($myidInternet > 0) { + if ($CodClienteInternet > 0) { $clienteinGM = getClienteByIdCodClienteInternet($CodClienteInternet); if ($clienteinGM) { $productLogger->addLog('', 'clienteinGM: ' . json_encode($clienteinGM));