cvs: php4(PHP_4_3) /ext/dba/tests skipif.inc
| From: | Marcus Boerger | Date: | Tue, 06 May 2003 09:34:20 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/dba/tests skipif.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20728@lists.php.net to get a copy of this message | ||
helly Tue May 6 05:34:20 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/dba/tests skipif.inc
Log:
MFH
Index: php4/ext/dba/tests/skipif.inc
diff -u php4/ext/dba/tests/skipif.inc:1.3.2.2 php4/ext/dba/tests/skipif.inc:1.3.2.3
--- php4/ext/dba/tests/skipif.inc:1.3.2.2 Mon May 5 21:26:21 2003
+++ php4/ext/dba/tests/skipif.inc Tue May 6 05:34:20 2003
@@ -7,11 +7,11 @@
if (in_array('flatfile', $handlers)) {
$handler = 'flatfile';
} else {
- $handler = array_diff($handler, array('cdb', 'cdb_make')); /* these can only
read OR write */
+ $handler = array_diff($handlers, array('cdb', 'cdb_make')); /* these can
only read OR write */
if (count($handler)==0) {
die('skip no handler available that can be used for the test');
}
- $handler = array_shift($handler);
+ $handler = array_shift($handlers);
}
} else {
if (!in_array($handler, dba_handlers())) {