cvs: php4 /pear DB.php

From: Date: Thu, 19 Apr 2001 23:56:57 +0000
Subject: cvs: php4 /pear DB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-58@lists.php.net to get a copy of this message
cox Thu Apr 19 16:56:57 2001 EDT Modified files: /php4/pear DB.php Log: fix small bug on error reporting (PEAR::raiseError params order) Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.61 php4/pear/DB.php:1.62 --- php4/pear/DB.php:1.61 Thu Apr 19 14:54:37 2001 +++ php4/pear/DB.php Thu Apr 19 16:56:57 2001 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: DB.php,v 1.61 2001/04/19 21:54:37 ssb Exp $ +// $Id: DB.php,v 1.62 2001/04/19 23:56:57 cox Exp $ // // Database independent query interface. // @@ -187,8 +187,8 @@ $classname = "DB_${type}"; if (!class_exists($classname)) { - return PEAR::raiseError(DB_ERROR_NOT_FOUND, - null, null, null, null, 'DB_Error', true); + return PEAR::raiseError(null, DB_ERROR_NOT_FOUND, + null, null, null, 'DB_Error', true); } @$obj =& new $classname; @@ -234,8 +234,8 @@ $classname = "DB_${type}"; if (!class_exists($classname)) { - return PEAR::raiseError(DB_ERROR_NOT_FOUND, - null, null, null, null, 'DB_Error', true); + return PEAR::raiseError(null, DB_ERROR_NOT_FOUND, + null, null, null, 'DB_Error', true); } @$obj =& new $classname;

« previous php.pear.cvs (#58) next »