diff --git a/src/Model/BlogController.php b/src/Model/BlogController.php index 6af2e62..7972346 100644 --- a/src/Model/BlogController.php +++ b/src/Model/BlogController.php @@ -443,7 +443,7 @@ class BlogController extends PageController $posts->setPageLength($pageSize); // Set current page - $start = $this->request->getVar($posts->getPaginationGetVar()); + $start = (int)$this->request->getVar($posts->getPaginationGetVar()); $posts->setPageStart($start); return $posts;