diff --git a/lib/Doctrine/Pager.php b/lib/Doctrine/Pager.php index 4493be0a2..ffa5190ff 100644 --- a/lib/Doctrine/Pager.php +++ b/lib/Doctrine/Pager.php @@ -394,7 +394,7 @@ class Doctrine_Pager $page = $this->getPage(); if ($page != $this->getLastPage()) { - return $page * $this->getMaxPerPage(); + return $this->getMaxPerPage(); } $offset = ($this->getPage() - 1) * $this->getMaxPerPage();