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

Bug #1638 Wrong array key in Admin/Auth/Cont../DB
Submitted: 2004-06-14 23:24 UTC
From: worthy at home dot olsztyn dot pl Assigned:
Status: Bogus Package: LiveUser
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-14 23:24 UTC] worthy at home dot olsztyn dot pl
Description: ------------ In file LiveUser/Admin/Auth/Container/DB.php (line 205; function addUser) is wrong table key used. This generates error in DB Query. Reproduce code: --------------- $query = ' INSERT INTO ' . $this->authTable . ' ( ' . $this->authTableCols['required']['user_id']['name'] . ', ' . $this->authTableCols['required']['handle']['name'] . ', ' . $this->authTableCols['required']['passwd']['name'] . ' ' . $col . ' ) VALUES ... Expected result: ---------------- $query = ' INSERT INTO ' . $this->authTable . ' ( ' . $this->authTableCols['required']['auth_user_id']['name'] . ', ' . $this->authTableCols['required']['handle']['name'] . ', ' . $this->authTableCols['required']['passwd']['name'] . ' ' . $col . ' ) VALUES ...

Comments

 [2004-06-14 23:29 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. We just fixed this some hours ago.