diff --git a/src/Database/PimcoreInstaller.php b/src/Database/PimcoreInstaller.php index 6325501..048a71d 100644 --- a/src/Database/PimcoreInstaller.php +++ b/src/Database/PimcoreInstaller.php @@ -86,7 +86,10 @@ public function insertDatabaseDump($db, $file = ''): void } } - $db->executeStatement(implode("\n", $batchQueries)); + // process remaining queries + if (\count($batchQueries) > 0) { + $db->executeStatement(implode("\n", $batchQueries)); + } } // set the id of the system user to 0