PMCORE-3856
This commit is contained in:
committed by
Mauricio Veliz
parent
824ead24fe
commit
7bb67a97bd
@@ -1869,7 +1869,7 @@ class Delegation extends Model
|
||||
$query->limit(1);
|
||||
$result = $query->get()->toArray();
|
||||
|
||||
return head($result);
|
||||
return is_null($result) ? [] : head($result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user