Merge branch '3.6' into 3

This commit is contained in:
Steve Boyd 2021-03-20 14:10:07 +13:00
commit 35f3da3483

View File

@ -457,7 +457,7 @@ class BlogController extends PageController
$posts->setPageLength($pageSize);
// Set current page
$start = (int)$this->request->getVar($posts->getPaginationGetVar());
$start = max(0, (int)$this->request->getVar($posts->getPaginationGetVar()));
$posts->setPageStart($start);
return $posts;