PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser » Bug #636

LiveUser_Admin_Auth_Container_DB var $name is not assigned

Details

Submitted2004-01-28 12:03 UTC
Frombanshee at netcetera dot pl
Assignedlsmith
StatusClosed
PackageLiveUser
PHP Version4.3.3
OSlinux
Roadmaps(Not assigned)

Comments

[2004-01-28 12:03 UTC] banshee at netcetera dot pl

Description:
------------
when trying:
// $conf = array ( .. ,'name' => 'DB_Local', ...)
$auth = new LiveUser_Admin_Auth_Container_DB($conf)
The $auth->name is not set.
Probably due to :
var $name = null //in LiveUser_Admin_Auth_Common

and in LiveUser_Admin_Auth_Container_DB()

if (is_array($connectOptions)) {
foreach($connectOptions as $key => $value)
{ if (isset($this->$key)) { // $this->name = null
$this->$key = $value; //so its not assigned
}
}....