aa
This commit is contained in:
@@ -1406,7 +1406,8 @@ function updateArticoloFromGM($idarticolo)
|
||||
->orderBy('dataOra', 'desc')
|
||||
->get();
|
||||
|
||||
if ($articles->count() > 0) {
|
||||
// se $articles è un array
|
||||
if (count($articles) > 0) {
|
||||
$article = $articles[0];
|
||||
} else {
|
||||
$article = null;
|
||||
|
||||
Reference in New Issue
Block a user