This commit is contained in:
paoloar77
2024-05-17 12:21:35 +02:00
parent 97edb40bee
commit 30f5312e66

View File

@@ -98,9 +98,13 @@ class TestPao extends Command
foreach ($articles as $article) { foreach ($articles as $article) {
try { try {
$strarticolo = json_encode($article, JSON_PRETTY_PRINT); if (is_array($article)) {
echo $strarticolo; $strarticolo = json_encode($article, JSON_PRETTY_PRINT);
$log .= $strarticolo; if ($strarticolo !== false) {
echo $strarticolo;
$log .= $strarticolo;
}
}
$mostra = false; $mostra = false;
if ($mostra_solo_qta_negative) { if ($mostra_solo_qta_negative) {