Skip to content
Permalink
Browse files

refs #backport-paginate-multiple-queries fix array notation to be com…

…patible with php 5.3
  • Loading branch information...
chav170 committed Nov 4, 2016
1 parent 20da448 commit c0aa418984e1e03d454e793477fb058adc951d3f
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/View/Helper/PaginatorHelper.php
@@ -461,7 +461,7 @@ public function url($options = array(), $asArray = false, $model = null) {
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']);
}

0 comments on commit c0aa418

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.