PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.