diff --git a/routes/web.php b/routes/web.php index 8269adf8..e1038335 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6104,7 +6104,7 @@ Route::get('/aggiornapreorder/{idarticolo}/{aggiornapreordine}', function ($idar } }*/ - if ($aggiornapreordine) { + if ($aggiornapreordine === '1') { $data = []; $data['stock_quantity'] = '1000';