summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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();