Zend Framework

Zend_Controller_Action_Helper_ViewRenderer: function _translateSpec: using wrong variable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6.1
  • Component/s: Zend_Controller
  • Labels:
    None

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.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Resolved in trunk and 1.6 release branch.

Show
Matthew Weier O'Phinney added a comment - Resolved in trunk and 1.6 release branch.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: