summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-20 22:28:29 +0000
committerMarcus Boerger <helly@php.net>2003-05-20 22:28:29 +0000
commit4cb2b8e1fe373e84a0360ab21b6e25957e3371be (patch)
treefdd88d5947eb9c0360f19606d3491d1eba39834e
parent8eb3233f825f0e28a1d7f547410054d3dcb10251 (diff)
downloadphp-git-4cb2b8e1fe373e84a0360ab21b6e25957e3371be.tar.gz
MFH: Fix test (ssen by Dan Torop)
-rw-r--r--ext/dba/tests/skipif.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dba/tests/skipif.inc b/ext/dba/tests/skipif.inc
index 1aa9b6a179..e75000fafd 100644
--- a/ext/dba/tests/skipif.inc
+++ b/ext/dba/tests/skipif.inc
@@ -7,8 +7,8 @@
if (in_array('flatfile', $handlers)) {
$handler = 'flatfile';
} else {
- $handler = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
- if (count($handler)==0) {
+ $handlers = array_diff($handlers, array('cdb', 'cdb_make')); /* these can only read OR write */
+ if (count($handlers)==0) {
die('skip no handler available that can be used for the test');
}
$handler = array_shift($handlers);