Commit bbfc8b88 authored by Taylor Otwell's avatar Taylor Otwell

Edited system/paginator.php via GitHub

parent 49fe1e3a
......@@ -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);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment