I have solved.
Problem was that the behavior of array_merge() was modified in PHP 5.
Unlike PHP 4, array_merge()  now only accepts parameters of type
array.

So I have modified 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);

and now it seems to work. Hope will help!



On Apr 15, 8:34 pm, Stu <[email protected]> wrote:
> the next and prev functions from paginator require an "Options" array
> as the second argument as you are currently giving it a boolean.  You
> might want to go check out the paginator helper line 189 and 201.
>
> Good luck,
>
> Stu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to