Home » Authentication » LiveUser_Admin » Bug #3844
$this instead of $obj in factory method
Details
| Submitted | 2005-03-16 15:34 UTC |
|---|---|
| From | benpjohnson at gmail dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | LiveUser_Admin |
| PHP Version | 5.0.3 |
| OS | Windows XP |
| Roadmaps | (Not assigned) |
Comments
[2005-03-16 15:34 UTC] benpjohnson at gmail dot com
Description:
------------
Package version 0.2.0
The factory method of the admin class refers to $this rather than $obj when the autoInit option is set.
Reproduce code:
---------------
Admin.php 247-250
if (isset($obj->_conf['autoInit']) && $obj->_conf['autoInit']) {
$this->setAdminContainers();
}
Expected result:
----------------
Should be:
if (isset($obj->_conf['autoInit']) && $obj->_conf['autoInit']) {
$obj->setAdminContainers();
}
[2005-03-16 15:39 UTC] smith at backendmedia dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.