diff --git a/lib/xmldb/classes/generators/XMLDBGenerator.class.php b/lib/xmldb/classes/generators/XMLDBGenerator.class.php index 16118b16ac2..acacaefdd64 100644 --- a/lib/xmldb/classes/generators/XMLDBGenerator.class.php +++ b/lib/xmldb/classes/generators/XMLDBGenerator.class.php @@ -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