mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Set the items array variable for no results
This commit is contained in:
parent
2de0a3669e
commit
fe06ef10f1
|
@ -19,7 +19,7 @@ class SelectlistTransformer
|
||||||
|
|
||||||
public function transformSelectlist (LengthAwarePaginator $select_items)
|
public function transformSelectlist (LengthAwarePaginator $select_items)
|
||||||
{
|
{
|
||||||
|
$items_array=[];
|
||||||
|
|
||||||
// Loop through the paginated collection to set the array values
|
// Loop through the paginated collection to set the array values
|
||||||
foreach ($select_items as $select_item) {
|
foreach ($select_items as $select_item) {
|
||||||
|
|
Loading…
Reference in a new issue