Adding $this->params['requested']; if method is called through requestAction

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3783 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2006-11-01 04:54:25 +00:00
parent 29ba60481a
commit ce9f9bc4da

View file

@ -90,6 +90,7 @@ class Object{
if (in_array('return', $extra)) {
$extra['return'] = 0;
$extra['bare'] = 1;
$extra['requested'] = 1;
ob_start();
$out = $dispatcher->dispatch($url, $extra);
$out = ob_get_clean();
@ -97,6 +98,7 @@ class Object{
} else {
$extra['return'] = 1;
$extra['bare'] = 1;
$extra['requested'] = 1;
return $dispatcher->dispatch($url, $extra);
}
} else {