diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-19 18:54:00 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-19 18:54:00 -0400 |
commit | 33a3196001a29e82f77faf8799c58c6ec3cc7579 (patch) | |
tree | f4737de8e41bf6bdbb2c16244b5ab9ad8da3722a /app/Core/Paginator.php | |
parent | 56c08e55f73113cc13cedeef67a3312b314b8f40 (diff) |
Fix minor issues
Diffstat (limited to 'app/Core/Paginator.php')
-rw-r--r-- | app/Core/Paginator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php index 12cc05a1..d00df7ce 100644 --- a/app/Core/Paginator.php +++ b/app/Core/Paginator.php @@ -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; } |