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

Bug #3133 factory use _option['autoInit'] but not set using param
Submitted: 2005-01-07 19:35 UTC
From: fabio at bs2 dot com dot br Assigned: lsmith
Status: Closed Package: LiveUser_Admin
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-07 19:35 UTC] fabio at bs2 dot com dot br
Description: ------------ method factory of class liveuser_admin use $this->_option['autoInit'] but the method not set $this->_option['autoInit'] with an parameter

Comments

 [2005-01-07 22:31 UTC] smith at backendmedia dot com
I dont know which version of LiveUser you are using, but in the past versions there is no such code. There is however "$obj->_options['autoInit']". However the "$obj->_readConfig()" sets the _options property before hand. Furthermore there is an isset() call to determine if the 'autoInit' key is set.
 [2005-01-10 10:22 UTC] fabio at bs2 dot com dot br
In version 0.1.0 the method factory dont call $this->_readConfig().
 [2005-01-12 22:41 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. doh you are of course right .. I looked at LiveUser and not LiveUser_Admin .. sorry and thx for your persistance!