From bbfc8b888ae5e1c61c095ce933a19e01d1613b98 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 22 Jul 2011 12:58:50 -0700 Subject: [PATCH] Edited system/paginator.php via GitHub --- system/paginator.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/paginator.php b/system/paginator.php index d633ab4b..c1315fa3 100644 --- a/system/paginator.php +++ b/system/paginator.php @@ -62,12 +62,10 @@ class Paginator { public function __construct($results, $total, $per_page) { $this->page = static::page($total, $per_page); - + $this->last_page = ceil($total / $per_page); $this->per_page = $per_page; $this->results = $results; $this->total = $total; - - $this->last_page = ceil($total / $per_page); } /**