From 7cfeeb12b20911dfb70eac8aeb77477aef349da8 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Wed, 14 Aug 2024 15:35:38 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index e9ed83ea..6e42f308 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -481,9 +481,9 @@ function showTest() $mystr = '*** TEST: codarticolo: ' . $codarticolo; if ($codarticolo) { try { - $product = Product::where('sku', $codarticolo)->first(); + //$product = Product::where('sku', $codarticolo)->first(); } catch (\Exception $e) { - return "Errore: " . $e->getMessage(); + $mystr .= "Errore: " . $e->getMessage(); } // $mystr .= getarraystr($product);