summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.php b/search.php
index 708f429..75d6d7a 100644
--- a/search.php
+++ b/search.php
@@ -54,7 +54,7 @@ if (POST_TERMS != '') {
$tplVars['loadjs'] = true;
// Pagination
- $perpage = getPerPageCount();
+ $perpage = getPerPageCount($currentUser);
if (intval(GET_PAGE) > 1) {
$page = GET_PAGE;
$start = ($page - 1) * $perpage;