yes but this does not help at all, because the 0 are dropped so you
will end up with your first argument taking the value of the second and
the second be null ...

I found the problem, in the new version of router.php, the
neatarray->cleanup has been remove and replace by array_filter. The
problem is that array_filter wihtout call back function will drop
everything that is NULL, and then 0 becomes null and is dropped..
I have corrected, a dirty fast solution, by writing my callback
function to verify that 0 is not dropped ..and this works..

Maybe a ticket would be needed ?

Thanks

On Dec 5, 1:10 pm, "Claudio Poli " <[EMAIL PROTECTED]> wrote:
> you should always set a default value to avoid the missing argument,
> like
> 
> function action($arg1=null, $arg2=null)


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" 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