This commit is contained in:
paoloar77
2024-05-17 12:24:14 +02:00
parent 1a008371ef
commit 788a25a74c

View File

@@ -101,7 +101,8 @@ class TestPao extends Command
try {
$ind++;
echo "\nArticolo " . $ind;
if (is_array($article)) {
if (is_object($article)) {
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
if ($strarticolo !== false) {
echo $strarticolo;