PMCORE-3856

This commit is contained in:
Paula.Quispe
2022-05-25 09:56:09 -04:00
committed by Mauricio Veliz
parent 824ead24fe
commit 7bb67a97bd
20 changed files with 64 additions and 9 deletions

View File

@@ -1869,7 +1869,7 @@ class Delegation extends Model
$query->limit(1);
$result = $query->get()->toArray();
return head($result);
return is_null($result) ? [] : head($result);
}
/**