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 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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 - 13 = ?

 
 [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(); }

Comments

 [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.