iliaa Thu Dec 26 23:46:40 2002 EDT
Modified files:
/php4/ext/dba/tests dba_handler.inc
Log:
Made DBA tests not dependant on error reporting settings.
Index: php4/ext/dba/tests/dba_handler.inc
diff -u php4/ext/dba/tests/dba_handler.inc:1.9 php4/ext/dba/tests/dba_handler.inc:1.10
--- php4/ext/dba/tests/dba_handler.inc:1.9 Fri Dec 20 12:47:58 2002
+++ php4/ext/dba/tests/dba_handler.inc Thu Dec 26 23:46:40 2002
@@ -67,7 +67,7 @@
} else {
echo "Error reading database\n";
}
- if ($dba_reader) {
+ if (!empty($dba_reader)) {
dba_close($dba_reader);
}
if (($db_file = dba_popen($db_filename, 'r'.($handler!='gdbm'?'-':''),
$handler))!==FALSE) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php