diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/dba/tests/skipif.inc | 4 |
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); |
