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

Bug #2672 wrong options var name in LiveUser::set/getOption()
Submitted: 2004-11-02 13:00 UTC
From: mahono Assigned: dufuz
Status: Closed Package: LiveUser
PHP Version: Irrelevant OS: all
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 : 18 - 17 = ?

 
 [2004-11-02 13:00 UTC] mahono
Description: ------------ Options can not be set or get using LiveUser::setOption() and LiveUser::getOption(). No matter what you do, it always pushes an error and returns false. Reason: typo in these methods. You simply can fix it by prepending an underline to $this->option so that it reads like that: $this->_option

Comments

 [2004-11-02 13:03 UTC] mahono
ok, there is a typo in my bug report: '$this->_options' will fix the problem
 [2004-11-02 14:12 UTC] dufuz
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.