mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
refs #backport-paginate-multiple-queries fix array notation to be compatible with php 5.3
This commit is contained in:
parent
20da4484de
commit
c0aa418984
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue