diff options
author | alecpl <alec@alec.pl> | 2009-04-05 09:50:49 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-04-05 09:50:49 +0000 |
commit | ce16bbc74ea3a8f63fd0b827be109af2acb6948c (patch) | |
tree | c5be0d034e745ccd933c3b2c137513e6bc2b881d | |
parent | 5a3f5852aa2fe5704b4ae3a066fd64044fbde970 (diff) |
- Fix "Initialize Database" button missing from installer (#1485802)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | installer/test.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Fix "Initialize Database" button missing from installer (#1485802) - Fix compose window doesn't fit 1024x768 window (#1485396) - Fix service not available error when pressing back from compose dialog (#1485552) - Fix using mail() on Windows (#1485779) 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; |