PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_QuickForm_Controller » Bug #1592

Double assignment breaks in PHP5

Details

Submitted2004-06-09 13:25 UTC
Frommichael at mompopmedia dot com
StatusDuplicate
PackageHTML_QuickForm_Controller
PHP Version5.0.0RC2 (Release Candidate 2)
OSRHE
Roadmaps(Not assigned)

Comments

[2004-06-09 13:25 UTC] michael at mompopmedia dot com

Description:
------------
On line 131 (or there about) of Controller.php a double assignment causes php5 to die:

list($page, $action) = $this->_actionName = $this->_actionName = $this->getActionName();

No error meesage is generated. no output is sent to the browser.

To fix the issue, change the code as follows:

$this->_actionName = $this->getActionName();
list($page, $action) = $this->_actionName;

However, I am guessing that this is more of a PHP5 issue than a Controller.php issue.