From ba99d97b8b1d7c77d91064b206e5f1e58fbff095 Mon Sep 17 00:00:00 2001 From: alec Date: Sun, 5 Apr 2009 09:50:49 +0000 Subject: - Fix "Initialize Database" button missing from installer (#1485802) git-svn-id: https://svn.roundcube.net/trunk@2375 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/CHANGELOG | 1 + roundcubemail/installer/test.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG index f4774c57d..3e1c3ec32 100644 --- a/roundcubemail/CHANGELOG +++ b/roundcubemail/CHANGELOG @@ -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/roundcubemail/installer/test.php b/roundcubemail/installer/test.php index d66fe34f2..5740a6489 100644 --- a/roundcubemail/installer/test.php +++ b/roundcubemail/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