Skip to content

Commit

Permalink
minor ui improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Jul 13, 2020
1 parent 93d8603 commit 435fa25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/widgets/lists/list_pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="pagination-bar d-flex justify-content-end">
<?php if ($showPageNumbers) { ?>
<div class="align-self-center">
<?= sprintf(lang('admin::lang.list.text_showing'), $records->firstItem(), $records->lastItem(), $records->total()) ?>
<?= sprintf(lang('admin::lang.list.text_showing'), $records->firstItem() ?? 0, $records->lastItem() ?? 0, $records->total()) ?>
</div>
<?php } ?>
<div class="pl-3">
Expand Down

0 comments on commit 435fa25

Please sign in to comment.