Re: DB.php still not quite right ...
| From: | Tomas V.V.Cox | Date: | Fri, 20 Apr 2001 00:04:39 +0000 |
| Subject: | Re: DB.php still not quite right ... | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-277@lists.php.net to get a copy of this message | ||
Colin Viebrock wrote:
>
> This seems to fix it (just had two variables switched):
>
> - function &raiseError($message = null, $code = null, $mode = null,
> + function &raiseError($code = null, $message = null, $mode = null,
> $options = null, $userinfo = null,
> $error_class = null, $skipmsg = false)
> {
I've fixed it in CVS. The problem was the incorrect params order in the
call of PEAR::raiseError in DB::factory and DB::connect.
Tomas V.V.Cox