On Mon, Mar 23, 2009 at 10:58 AM, welzie <[email protected]> wrote: > > I'm sorry, but I just don't get it. I am only passing TWO arguments > to $Html-link and it works. I looked at $Html-link and it doesn't > seem to do any parameter counting. I understand your point about me > only passing two parameters, but please tell me why it works when > calling $Html-link.
How do you expect these to be anything but NULL? $controllerName = $htmlAttributes['controller']; $actionName = $htmlAttributes['action']; You are not passing a 3rd parameter, so $htmlAttributes is an empty array. You should have: $controllerName = $url['controller']; $actionName = $url['action']; --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
