From e92186c80355e7c147b9b1aec434f15c18118f60 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Wed, 14 Aug 2024 15:36:37 +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 6e42f308..9f8de05f 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -481,12 +481,12 @@ function showTest() $mystr = '*** TEST: codarticolo: ' . $codarticolo; if ($codarticolo) { try { - //$product = Product::where('sku', $codarticolo)->first(); + $product = Product::where('sku', $codarticolo)->first(); } catch (\Exception $e) { $mystr .= "Errore: " . $e->getMessage(); } - // $mystr .= getarraystr($product); + $mystr .= getarraystr($product); } return $mystr;