summaryrefslogtreecommitdiff
path: root/app/Core/Paginator.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-19 18:54:00 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-19 18:54:00 -0400
commit33a3196001a29e82f77faf8799c58c6ec3cc7579 (patch)
treef4737de8e41bf6bdbb2c16244b5ab9ad8da3722a /app/Core/Paginator.php
parent56c08e55f73113cc13cedeef67a3312b314b8f40 (diff)
Fix minor issues
Diffstat (limited to 'app/Core/Paginator.php')
-rw-r--r--app/Core/Paginator.php2
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;
}