summaryrefslogtreecommitdiff
path: root/ext/dba/tests
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-20 22:28:10 +0000
committerMarcus Boerger <helly@php.net>2003-05-20 22:28:10 +0000
commite9c10acc76cac2efdc5341c9ad96362cf18bfa57 (patch)
tree9fdfa41d646550d57c36d9ac822254d251ae5181 /ext/dba/tests
parent7c7d14a413ecff4ca2d9b72e64e6347ace2e60c9 (diff)
downloadphp-git-e9c10acc76cac2efdc5341c9ad96362cf18bfa57.tar.gz
Fix test (ssen by Dan Torop)
Diffstat (limited to 'ext/dba/tests')
-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);