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