From 51ede06434097ef8d0697ee204fa998d6445d194 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 15 May 2009 10:22:29 +0000 Subject: Apply changes from r2348 to r2400 for 0.2.2 release --- installer/test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'installer/test.php') diff --git a/installer/test.php b/installer/test.php index d66fe34f2..5740a6489 100644 --- a/installer/test.php +++ b/installer/test.php @@ -159,7 +159,7 @@ if ($db_working && $_POST['initdb']) { // test database if ($db_working) { $db_read = $DB->query("SELECT count(*) FROM {$RCI->config['db_table_users']}"); - if (!$db_read) { + if ($DB->db_error) { $RCI->fail('DB Schema', "Database not initialized"); echo '

'; $db_working = false; -- cgit v1.2.3