cvs: pear(MDB_1) /MDB MDB.php
| From: | Lukas Smith | Date: | Thu, 22 Jan 2004 12:40:05 +0000 |
| Subject: | cvs: pear(MDB_1) /MDB MDB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15871@lists.php.net to get a copy of this message | ||
lsmith Thu Jan 22 07:40:05 2004 EDT
Modified files: (Branch: MDB_1)
/pear/MDB MDB.php
Log:
another attempt to fixing isError for php5
http://cvs.php.net/diff.php/pear/MDB/MDB.php?r1=1.59.4.6&r2=1.59.4.7&ty=u
Index: pear/MDB/MDB.php
diff -u pear/MDB/MDB.php:1.59.4.6 pear/MDB/MDB.php:1.59.4.7
--- pear/MDB/MDB.php:1.59.4.6 Wed Jan 21 07:01:36 2004
+++ pear/MDB/MDB.php Thu Jan 22 07:40:05 2004
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB.php,v 1.59.4.6 2004/01/21 12:01:36 lsmith Exp $
+// $Id: MDB.php,v 1.59.4.7 2004/01/22 12:40:05 lsmith Exp $
//
require_once('PEAR.php');
@@ -180,7 +180,7 @@
* MDB_Manager This class handles the xml schema management.
*
* @package MDB
- * @version $Id: MDB.php,v 1.59.4.6 2004/01/21 12:01:36 lsmith Exp $
+ * @version $Id: MDB.php,v 1.59.4.7 2004/01/22 12:40:05 lsmith Exp $
* @category Database
* @author Lukas Smith <smith@backendmedia.com>
*/
@@ -439,9 +439,7 @@
*/
function isError($value)
{
- return (is_object($value)
- && (is_a($value, 'mdb_error') || is_a($value, 'MDB_Error'))
- );
+ return is_a($value, 'MDB_Error');
}
// }}}