mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Replacing '_view_' with 'view'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4217 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
aa6d4959fd
commit
5b7aa0d783
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class JavascriptHelper extends AppHelper {
|
|||
if ($inline) {
|
||||
return $out;
|
||||
} else {
|
||||
$view =& ClassRegistry::getObject('_view_');
|
||||
$view =& ClassRegistry::getObject('view');
|
||||
$view->addScript($out);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue