test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user