Home » HTML » HTML_QuickForm_Controller » Bug #1592
Double assignment breaks in PHP5
Details
| Submitted | 2004-06-09 13:25 UTC |
|---|---|
| From | michael at mompopmedia dot com |
| Status | Duplicate |
| Package | HTML_QuickForm_Controller |
| PHP Version | 5.0.0RC2 (Release Candidate 2) |
| OS | RHE |
| 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.