diff --git a/routes/web.php b/routes/web.php index 38780258..113d4448 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6125,9 +6125,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar } // $log2 .= $article->Titolo . ' - ' . $article->DescrizioneTipologia . ' - ' . $article->DescrizioneFormato . ' - Articolo aggiornato - ' . $variation['permalink'] . "\n"; - $newproduct = new Newproduct(); - $newproduct->id_article = $article->IdArticolo; - $newproduct->save(); + $article->save(); } } } else {