diff --git a/core/PaginatedList.php b/core/PaginatedList.php index acb81fd71..8a27ccb91 100644 --- a/core/PaginatedList.php +++ b/core/PaginatedList.php @@ -353,7 +353,7 @@ class PaginatedList extends SS_ListDecorator { * @return bool */ public function NotLastPage() { - return $this->CurrentPage() != $this->TotalPages(); + return $this->CurrentPage() < $this->TotalPages(); } /** @@ -421,4 +421,4 @@ class PaginatedList extends SS_ListDecorator { } } -} \ No newline at end of file +}