From b665cd4ba64bb66cc6618e3aff1bc4ebb17bca8a Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sun, 19 May 2024 17:39:17 +0200 Subject: [PATCH] tt --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index bebcc4e3..6f1e5ce8 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6122,7 +6122,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar showarray($variations); foreach ($variations as $variation) { if ($variation->id == $product['id']) { - $data = $variation; + $data = $variation->toArray(); break; } }