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

Bug #295 getAuthAdminObjectByName errors in latest CVS
Submitted: 2003-11-25 15:26 UTC
From: liveuser at bago dot org Assigned: arnaud
Status: Closed Package: LiveUser
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2003-11-25 15:26 UTC] liveuser at bago dot org
Description: ------------ Looking at the LiveUser getAuthAdminObjectByName function code I found: $con =& new $classname($container, array('type'=>$container['type'])); So the second parameter always contain an array with a single value: type. Now in the constructor of the Admin/Auth/Container/DB.php function &LiveUser_Admin_Auth_Container_DB(&$connectOptions, $conf) I found that the code try to read $conf['authTable'] and more properties overwriting the first part of the constructor where it assign to the object properties the values from the connectOptions array. $conf['authTable'] will never be something different from null (as you can see in the second line of this example) and will overwrite the default authTable or the authTable defined with the value from the connectOptions array.

Comments

 [2003-12-04 15:24 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!