From 319153f125eaed7661b26906b98309de455a1063 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Sat, 18 May 2024 19:01:12 +0200 Subject: [PATCH] test --- routes/web.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/routes/web.php b/routes/web.php index aa4ba77d..6833758b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6205,8 +6205,10 @@ Route::get('/qtanegativa', function () { echo '[' . $ind . ']' . $sep . $mydatestr . $sep . $article->Id . $sep . $article->IdArticolo . $sep . $article->Titolo . $sep . $article->DescrizioneStatoProdotto . $sep . $article->DescrizioneFormato . '[Quantita = ' . $article->QtaDisponibile . ']
'; $prodotto = Product::find($product_id); - $label = $prodotto['_wpro_label_variable']; - echo " label=" . $label; + if ($prodotto) { + $label = $prodotto['_wpro_label_variable']; + echo " label=" . $label; + } $ind++; }