This commit is contained in:
paoloar77
2024-08-14 15:36:37 +02:00
parent 7cfeeb12b2
commit e92186c803

View File

@@ -481,12 +481,12 @@ function showTest()
$mystr = '*** TEST: codarticolo: ' . $codarticolo; $mystr = '*** TEST: codarticolo: ' . $codarticolo;
if ($codarticolo) { if ($codarticolo) {
try { try {
//$product = Product::where('sku', $codarticolo)->first(); $product = Product::where('sku', $codarticolo)->first();
} catch (\Exception $e) { } catch (\Exception $e) {
$mystr .= "Errore: " . $e->getMessage(); $mystr .= "Errore: " . $e->getMessage();
} }
// $mystr .= getarraystr($product); $mystr .= getarraystr($product);
} }
return $mystr; return $mystr;