summaryrefslogtreecommitdiff
path: root/app/Core/Paginator.php
diff options
context:
space:
mode:
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;
}