Merge branch 'develop'

This commit is contained in:
snipe 2017-11-04 01:11:41 -07:00
commit 14ca690441

View file

@ -34,7 +34,10 @@ class SelectlistTransformer
// This is weird and awful, but the only way I can find to allow the user to // This is weird and awful, but the only way I can find to allow the user to
// clear the selection - @snipe // clear the selection - @snipe
array_unshift($items_array, ['id' =>'', 'text'=> trans('general.clear_selection')]); if (count($items_array) > 0) {
array_unshift($items_array, ['id' =>'', 'text'=> trans('general.clear_selection')]);
}
$results = [ $results = [
'items' => $items_array, 'items' => $items_array,
'pagination' => 'pagination' =>