fixing loadHelpers on renderElement, fixes Email too

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4650 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-03-23 00:25:27 +00:00
parent 8fc055bfa6
commit 2f3d8d154a

View file

@ -397,7 +397,7 @@ class View extends Object {
if(!is_null($file)) {
$params = array_merge_recursive($params, $this->loaded);
return $this->_render($file, array_merge($this->viewVars, $params), false);
return $this->_render($file, array_merge($this->viewVars, $params), $loadHelpers);
}
if(!is_null($this->pluginPath)) {