PEAR is archived and read-only

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

Home » Authentication » Auth » Bug #8524

DBlite Container: Notice message

Details

Submitted2006-08-21 06:29 UTC
Fromdozoyousan at gmail dot com
Assignedaashley
StatusClosed
PackageAuth
PHP Version5.1.4
OSLinux
Roadmaps(Not assigned)

Comments

[2006-08-21 06:29 UTC] dozoyousan at gmail dot com

Description:
------------
Hello.

I use ver1.3.1 and DBLite Container.
If I set column list array in "db_fields" option,
output notice message.

Notice: Array to string conversion in /usr/local/lib/php/Auth/Container/DBLite.php on line 229

Test script:
---------------
$option = array(
'dsn' => $dsn,
'postUsername' => 'username',
'postPassword' => 'passwd',
'table' => 'users_info',
'usernamecol' => 'users_login',
'passwordcol' => 'users_password',
'cryptType' => 'md5',
'db_fields' => array(
'users_id',
'users_name',
),
),

Expected result:
----------------
Notice: Array to string conversion in /usr/local/lib/php/Auth/Container/DBLite.php on line 229

[2006-08-31 01:31 UTC] aashley at php dot net

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Auth