$categories = $this->requestAction(array
('controller'=>'documents','action'=>'request_categories'));
$categories = $this->requestAction('/documents/request_categories');
The first line will fail, but the second line will work.
Look in the dispatcher.php on line 111
if (is_array($url)) {
$url = $this->__extractParams($url, $additionalParams);
$parse = false;
}
Now look at the function __extractParams on line 270.
This function has no return failure. It has been commented out.
I found this in Cake 1.2.1.8004 build.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---