lib/kolab_client_task.php
Aleksander Machniak
machniak at kolabsys.com
Fri Sep 13 14:35:37 CEST 2013
lib/kolab_client_task.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7944d7bb4f3e92b941989d23bc01b49c1701608d
Author: Aleksander Machniak <alec at alec.pl>
Date: Fri Sep 13 14:35:06 2013 +0200
Fixed page size in list footer
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();
More information about the commits
mailing list