blob: c4c066d25eb06e74e20f121d90e9d3a45fcddeee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index ae568d2..d42f816 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -354,7 +354,8 @@ class rcube_install
// check list of tables
$existing_tables = $DB->list_tables();
foreach ($db_schema as $table => $cols) {
- if (!in_array($this->config['db_table_'.$table], $existing_tables))
+ $table = !empty($this->config['db_table_'.$table]) ? $this->config['db_table_'.$table] : $table;
+ if (!in_array($table, $existing_tables))
$errors[] = "Missing table ".$table;
// TODO: check cols and indices
|