summaryrefslogtreecommitdiff
path: root/installer/test.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-15 10:22:29 +0000
committerthomascube <thomas@roundcube.net>2009-05-15 10:22:29 +0000
commit51ede06434097ef8d0697ee204fa998d6445d194 (patch)
tree76d6362bca66010776af8e8fbb971ba848cc3215 /installer/test.php
parent9bee4437b889f4e36e37116ebf1fc24765eecad6 (diff)
Apply changes from r2348 to r2400 for 0.2.2 release
Diffstat (limited to 'installer/test.php')
-rw-r--r--installer/test.php2
1 files changed, 1 insertions, 1 deletions
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 '<p><input type="submit" name="initdb" value="Initialize database" /></p>';
$db_working = false;