test
This commit is contained in:
@@ -96,8 +96,11 @@ class TestPao extends Command
|
||||
$log .= "Quanti Articoli: " . $articles->count();
|
||||
|
||||
|
||||
$ind = 0;
|
||||
foreach ($articles as $article) {
|
||||
try {
|
||||
$ind++;
|
||||
echo "\nArticolo " . $ind;
|
||||
if (is_array($article)) {
|
||||
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
|
||||
if ($strarticolo !== false) {
|
||||
|
||||
Reference in New Issue
Block a user