New installation with different prefix in one database fails MDL-6614

This commit is contained in:
skodak
2006-10-01 09:47:20 +00:00
parent 8be977c547
commit c58facdd96
@@ -185,7 +185,7 @@ class XMLDBgenerator {
/// Prevent tables without prefix to be duplicated (part of MDL-6614)
if (in_array($xmldb_table->getName(), $this->getTablesWithoutPrefix()) &&
table_exists($xmldb_table)) {
return false;
return $results; // false here would break the install, empty array is better ;-)
}
/// Add the fields, separated by commas