Re: [Log class] Problem when Logging into a database
| From: | Jon Parise | Date: | Thu, 28 Nov 2002 14:51:15 +0000 |
| Subject: | Re: [Log class] Problem when Logging into a database | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11222@lists.php.net to get a copy of this message | ||
On Thu, Nov 28, 2002 at 12:53:16PM +0100, Frdric Poeydomenge wrote:
> I obtain the the following error notice :
>
> Note [8] Array to string conversion in /usr/share/pear/Log.php line 139
>
> Coming from the implode function in the signature computation :
>
> $signature = md5($type . '][' . $name . '][' . $ident .
> '][' .
> implode('][', $conf) . '][' . $maxLevel);
It really isn't necessary to hash the $conf array in the signature, so
I just removed that part of the construction.
I just committed the fix and released a new version of the Log package.
Thanks for letting us know about this.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)