Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #3844 $this instead of $obj in factory method
Submitted: 2005-03-16 10:34 UTC Modified: 2006-12-24 16:11 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)    
Subscription  


 [2005-03-16 10: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(); }

Comments

 [2005-03-16 10: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.