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 #790

Notice in LiveUser_Admin_Auth_Container_DB constructor

Details

Submitted2004-02-18 21:18 UTC
Fromjmf at dyingculture dot net
StatusBogus
PackageLiveUser
PHP Version4.3.4
OSMandrake 9.1
Roadmaps(Not assigned)

Comments

[2004-02-18 21:18 UTC] jmf at dyingculture dot net

Description:
------------
In the LiveUser_Admin_Auth_Container_DB constructor, you get a notice if you do not specify the configuration parameters "authTable" and "authTableCols" (because you want to use the default values).

To avoid this the 2 following lines

$this->authTableCols = array_merge($conf['authTableCols'], $this->authTable = $conf['authTable'];

should be replaced with these lines

if (isset($conf['authTableCols'])) {
$this->authTableCols = array_merge($conf['authTableCols'], $this->authTableCols);
}

if (isset($conf['authTable'])) {
$this->authTable = $conf['authTable'];
}