From 8606816642be1eb6a87c196138799a2ff4216326 Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 19 Dec 2006 19:27:19 +0000 Subject: [PATCH] Fixing View class reference in RssHelper git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4109 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/helpers/rss.php b/cake/libs/view/helpers/rss.php index fcb6dabd2..db4d77876 100644 --- a/cake/libs/view/helpers/rss.php +++ b/cake/libs/view/helpers/rss.php @@ -124,7 +124,7 @@ class RssHelper extends XmlHelper { * @return string An RSS */ function channel($attrib = array(), $elements = array(), $content = null) { - $view =& ClassRegistry::getObject('_view_'); + $view =& ClassRegistry::getObject('view'); if (!isset($elements['title']) && !empty($view->pageTitle)) { $elements['title'] = $view->pageTitle;