Fix minor issues

This commit is contained in:
Frederic Guillot
2015-07-19 18:54:00 -04:00
parent 56c08e55f7
commit 33a3196001
9 changed files with 18 additions and 12 deletions

View File

@@ -313,7 +313,7 @@ class Paginator
$this->page = 1;
}
$this->offset = ($this->page - 1) * $this->limit;
$this->offset = (int) (($this->page - 1) * $this->limit);
return $this;
}