This commit is contained in:
paoloar77
2024-05-17 12:26:56 +02:00
parent 54ad5e8863
commit 53abcd9d34

View File

@@ -113,12 +113,10 @@ class TestPao extends Command
if ($mostra) {
if (is_object($article)) {
if (false) {
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
if ($strarticolo !== false) {
echo $strarticolo;
$log .= $strarticolo;
}
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
if ($strarticolo !== false) {
echo $strarticolo;
$log .= $strarticolo;
}
}
@@ -136,7 +134,7 @@ class TestPao extends Command
$titolo = $article->Titolo;
switch ($article->DescrizioneTipologia) {
case 'Libri':
case 'LibriAA':
$prodotti = $prodotti->where('name', $titolo)->get();