Auth bug
| From: | LIMBOURG Arnaud | Date: | Mon, 12 Aug 2002 15:18:04 +0000 |
| Subject: | Auth bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8323@lists.php.net to get a copy of this message | ||
Hello,
There is a small bug in PEAR::Auth.
When you pass a dsn as an array (performance reason), Auth crashes.
A fix is tho change line 97 of DB.php of the last release to
if (is_string($dsn) || is_array($dsn)) {
instead of
if (is_string($dsn)) {
I don't have th courage to make a diff for one line ;))
Arnaud.