PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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
}
}....