From 4cb2b8e1fe373e84a0360ab21b6e25957e3371be Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 20 May 2003 22:28:29 +0000 Subject: [PATCH] MFH: Fix test (ssen by Dan Torop) --- ext/dba/tests/skipif.inc | 4 ++-- 1 file 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); -- 2.40.0