ZF-4220: Zend_Controller_Action_Helper_ViewRenderer: function _translateSpec: using wrong variable
Description
protected function _translateSpec(array $vars = array())
{
[...]
if (isset($moduleDir)) { // <-- shouldn't this be $params['moduleDir']?
$origModuleDir = $this->_getModuleDir();
$this->_setModuleDir($params['moduleDir']);
}
[...]
if (isset($moduleDir)) { // <-- shouldn't this be $params['moduleDir']?
$this->_setModuleDir($origModuleDir);
}
[...]
}
Please see code comments.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-09-10T11:52:59.000+0000
Resolved in trunk and 1.6 release branch.