summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/index.php b/www/index.php
index bc1b354..6d6f5cb 100644
--- a/www/index.php
+++ b/www/index.php
@@ -60,7 +60,7 @@ if ($usecache) {
// Pagination
$perpage = getPerPageCount($currentUser);
if (intval(GET_PAGE) > 1) {
- $page = GET_PAGE;
+ $page = intval(GET_PAGE);
$start = ($page - 1) * $perpage;
} else {
$page = 0;