Unlike PHP 4, array_merge() now only accepts parameters of type
array.
So if you have problem with next() function, try modify line 312 of
paginator.php helper, with a typecast:
It was: $url = array_merge(array('page' => $paging['page'] +
($which == 'Prev' ? $step * -1 : $step)), $url);
now is: $url = array_merge(array('page' => $paging['page'] + ($which
== 'Prev' ? $step * -1 : $step)), (array)$url);
Hope will help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment