Issues

ZF-4220: Zend_Controller_Action_Helper_ViewRenderer: function _translateSpec: using wrong variable

Issue Type: Bug Created: 2008-09-07T10:46:18.000+0000 Last Updated: 2008-09-10T11:52:59.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)

Reporter: Christian Schumann (chrisschu) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: Attachments:

Description

<pre class="highlight">
    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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts