cvs: php4 /ext/dba/tests skipif.inc
| From: | Marcus Boerger | Date: | Tue, 06 May 2003 09:33:40 +0000 |
| Subject: | cvs: php4 /ext/dba/tests skipif.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20727@lists.php.net to get a copy of this message | ||
helly Tue May 6 05:33:40 2003 EDT
Modified files:
/php4/ext/dba/tests skipif.inc
Log:
#i shouldn't do test-fiddling after 3o-clock
Index: php4/ext/dba/tests/skipif.inc
diff -u php4/ext/dba/tests/skipif.inc:1.7 php4/ext/dba/tests/skipif.inc:1.8
--- php4/ext/dba/tests/skipif.inc:1.7 Mon May 5 21:23:35 2003
+++ php4/ext/dba/tests/skipif.inc Tue May 6 05:33:40 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())) {