Issues

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

Resolved in trunk and 1.6 release branch.