PMCORE-2631
This commit is contained in:
@@ -1606,7 +1606,7 @@ class Delegation extends Model
|
|||||||
}
|
}
|
||||||
$items = $query->get();
|
$items = $query->get();
|
||||||
$items->each(function ($item) use (&$data) {
|
$items->each(function ($item) use (&$data) {
|
||||||
$data[] = get_object_vars($item);
|
$data[] = $item->toArray();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// Set offset and limit if were sent
|
// Set offset and limit if were sent
|
||||||
|
|||||||
Reference in New Issue
Block a user