From 5b7aa0d7833024f53222e1d06676410a9b0258b5 Mon Sep 17 00:00:00 2001 From: dho Date: Wed, 27 Dec 2006 09:34:45 +0000 Subject: [PATCH] Replacing '_view_' with 'view' git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4217 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/javascript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/helpers/javascript.php b/cake/libs/view/helpers/javascript.php index b5b5a12ee..238a579f5 100644 --- a/cake/libs/view/helpers/javascript.php +++ b/cake/libs/view/helpers/javascript.php @@ -136,7 +136,7 @@ class JavascriptHelper extends AppHelper { if ($inline) { return $out; } else { - $view =& ClassRegistry::getObject('_view_'); + $view =& ClassRegistry::getObject('view'); $view->addScript($out); } }