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