From 18d956fc879f784da3cb6a10b45c991bfd9cdc09 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 20:16:16 +0200 Subject: [PATCH] aa --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index dc27af15..8a6d6230 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6105,7 +6105,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po $prodotti = null; $prodotti = new ModelsProduct(); - $prodotti = $prodotti->where('name', $titolo)->get(); + $prodotti = $prodotti->where('sku', $sku)->get(); $id = 0; if (!is_null($prodotti) && $prodotti->count() > 0) {