cvs: php4(PHP_4_3) /ext/dba/tests dba_handler.inc
| From: | Ilia Alshanetsky | Date: | Fri, 27 Dec 2002 04:47:45 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/dba/tests dba_handler.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17434@lists.php.net to get a copy of this message | ||
iliaa Thu Dec 26 23:47:45 2002 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/dba/tests dba_handler.inc
Log:
MFH
Index: php4/ext/dba/tests/dba_handler.inc
diff -u php4/ext/dba/tests/dba_handler.inc:1.7.2.2 php4/ext/dba/tests/dba_handler.inc:1.7.2.3
--- php4/ext/dba/tests/dba_handler.inc:1.7.2.2 Fri Dec 20 15:25:19 2002
+++ php4/ext/dba/tests/dba_handler.inc Thu Dec 26 23:47:45 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) {