A free open source IT asset/license management system
Set the items array variable for no results
snipefe06ef10f1ab
diff --git a/app/Http/Transformers/SelectlistTransformer.php b/app/Http/Transformers/SelectlistTransformer.phpindex e4b6a17a0f..26eb7e18e3 100644--- a/app/Http/Transformers/SelectlistTransformer.php+++ b/app/Http/Transformers/SelectlistTransformer.php@@ -19,7 +19,7 @@ class SelectlistTransformerpublic function transformSelectlist (LengthAwarePaginator $select_items){-+ $items_array=[];// Loop through the paginated collection to set the array valuesforeach ($select_items as $select_item) {