mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
fix calculation of totalPages
This commit is contained in:
parent
4ae52e42c8
commit
d7d63ae129
|
@ -406,7 +406,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"]) {
|
|||
}
|
||||
}
|
||||
}
|
||||
$totalPages = count($entries)/$limit;
|
||||
$totalPages = (int) (count($entries)/$limit);
|
||||
if(count($entries)%$limit)
|
||||
$totalPages++;
|
||||
if($limit > 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user