Skip to content

Commit

Permalink
fix pagination hidden
Browse files Browse the repository at this point in the history
fix pagination hidden, when number of rows is smaller than 10
  • Loading branch information
ssteeltm committed Sep 4, 2024
1 parent 0f6ed69 commit b3e6039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$total_found_rows = $num_rows[0];
$total_pages = ceil($total_found_rows / $user_config_records_per_page);

if ($total_found_rows > 10) {
if ($total_found_rows > 1) {
$i = 0;

?>
Expand Down

0 comments on commit b3e6039

Please sign in to comment.