summaryrefslogtreecommitdiffstats
path: root/library/Pbs/Pagination.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Pbs/Pagination.php')
-rw-r--r--library/Pbs/Pagination.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Pbs/Pagination.php b/library/Pbs/Pagination.php
index c31dacf..0be192c 100644
--- a/library/Pbs/Pagination.php
+++ b/library/Pbs/Pagination.php
@@ -74,7 +74,7 @@ class Pbs_Pagination{
return $this->requestpage * $this->perpage;
}
public function getElements(){
- return array_slice($this->element,$this->getStartItem(),$this->getPerPage());
+ return array_slice($this->element,$this->getStartItem(),$this->getPerPage(),true);
}
public function setPageUrl($url){
$this->pageUrl = $url;