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);