From 9545c9ee43137a6c7ec791d47f839701f8e285dd Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 17:50:31 +0200 Subject: [PATCH] t --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 0cc29f71..9b8649a6 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6081,7 +6081,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po echo "Variazioni:"; - $variations = Variation::where('sku', $product_id)->get(); + $variations = Variation::where('sku', $idarticolo)->first(); showarray($variations); } else {