i found the error
router.php
line 188
$out['pass'] = array_filter(explode('/', $found));
array_filter deletes all value which are 0, null or false
i think 0 should be left in the array!!!
On 31 Jan., 11:38, "cwsTrummer" <[EMAIL PROTECTED]> wrote:
> hi there
>
> ok i pass vars in my url lik
> index.php/mycontroller/myaction/myparam1/myparam2/myparam3
>
> function myaction($param1, $param2, $param3)
> {
>
> }
>
> works fine but when one param is int "0" for exmaple the second param
> then the third param is the second param
>
> for example
> myaction/test/0/9
>
> param1 = test
> param2 = 9
> param3 = null
>
> there must be something wrong with the dispatcher
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---