Home » Authentication » Auth » Bug #8524
DBlite Container: Notice message
Details
| Submitted | 2006-08-21 06:29 UTC |
|---|---|
| From | dozoyousan at gmail dot com |
| Assigned | aashley |
| Status | Closed |
| Package | Auth |
| PHP Version | 5.1.4 |
| OS | Linux |
| 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