aa
This commit is contained in:
@@ -478,7 +478,7 @@ function showTest()
|
||||
{
|
||||
$codarticolo = "16670";
|
||||
|
||||
$mystr = '*** TEST: codarticolo: ' . $codarticolo;
|
||||
$mystr = '*** TEST: codarticolo: ' . $codarticolo . PHP_EOL;
|
||||
if ($codarticolo) {
|
||||
try {
|
||||
$product = Product::where('sku', $codarticolo)->first();
|
||||
@@ -486,7 +486,8 @@ function showTest()
|
||||
$mystr .= "Errore: " . $e->getMessage();
|
||||
}
|
||||
|
||||
$mystr .= getarraystr($product);
|
||||
if (isset($product) && isset($product['id']))
|
||||
$mystr += $product['id'] . ' ';
|
||||
|
||||
}
|
||||
return $mystr;
|
||||
|
||||
Reference in New Issue
Block a user