diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-09-13 14:35:06 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-09-13 14:35:06 +0200 |
commit | 7944d7bb4f3e92b941989d23bc01b49c1701608d (patch) | |
tree | 733389d4e382381803f02f72c97ee5c28466a27e | |
parent | 4141bb33d01fcd9a98953d5906abb2e43f203f45 (diff) | |
download | webadmin-kolab-webadmin-3.1.0.tar.gz |
Fixed page size in list footerkolab-webadmin-3.1.0
-rw-r--r-- | lib/kolab_client_task.php | 4 |
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(); |