summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-09-13 14:35:06 +0200
committerAleksander Machniak <alec@alec.pl>2013-09-13 14:35:06 +0200
commit7944d7bb4f3e92b941989d23bc01b49c1701608d (patch)
tree733389d4e382381803f02f72c97ee5c28466a27e /lib/kolab_client_task.php
parent4141bb33d01fcd9a98953d5906abb2e43f203f45 (diff)
downloadwebadmin-7944d7bb4f3e92b941989d23bc01b49c1701608d.tar.gz
Fixed page size in list footerkolab-webadmin-3.1.0
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 00b74b7..6e3eaa0 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -1492,8 +1492,8 @@ class kolab_client_task
// calculate records
if ($count) {
- $start = 1 + max(0, $page - 1) * $page_size;
- $end = min($start + $page_size - 1, $count);
+ $start = 1 + max(0, $page - 1) * $this->page_size;
+ $end = min($start + $this->page_size - 1, $count);
}
$rows = $head = $foot = array();