diff --git a/lib/Cake/View/Helper/PaginatorHelper.php b/lib/Cake/View/Helper/PaginatorHelper.php index 096640889..1ff055716 100644 --- a/lib/Cake/View/Helper/PaginatorHelper.php +++ b/lib/Cake/View/Helper/PaginatorHelper.php @@ -461,7 +461,7 @@ class PaginatorHelper extends AppHelper { unset($url['?']['page']); } if (!empty($paging['queryScope'])) { - $url = [$paging['queryScope'] => $url]; + $url = array($paging['queryScope'] => $url); if (empty($url[$paging['queryScope']]['page'])) { unset($url[$paging['queryScope']]['page']); }