diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-27 04:46:40 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-27 04:46:40 +0000 |
commit | 22a2636d9de4691a61fb9ccd28ef5e3683e64ba0 (patch) | |
tree | 44d7ae6b05322df1ba9b96f94cbaa3f474f9bcb5 /ext/dba/tests/dba_handler.inc | |
parent | c9b374f8e0d4276d701d8409549a2dfcc2788c3d (diff) | |
download | php-git-22a2636d9de4691a61fb9ccd28ef5e3683e64ba0.tar.gz |
Made DBA tests not dependant on error reporting settings.
Diffstat (limited to 'ext/dba/tests/dba_handler.inc')
-rw-r--r-- | ext/dba/tests/dba_handler.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler.inc index 66a356bb18..b2e73d6237 100644 --- a/ext/dba/tests/dba_handler.inc +++ b/ext/dba/tests/dba_handler.inc @@ -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) { |