From b882268986a8f460a3eaa6cb3d728f0f8dbe1bb7 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Tue, 26 Mar 2024 11:25:47 +0000 Subject: [PATCH] mustal empty database fix --- vendor/mustal/mustal_mysql_upgrade_tool.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vendor/mustal/mustal_mysql_upgrade_tool.php b/vendor/mustal/mustal_mysql_upgrade_tool.php index 31d25c1c..543f0dc8 100644 --- a/vendor/mustal/mustal_mysql_upgrade_tool.php +++ b/vendor/mustal/mustal_mysql_upgrade_tool.php @@ -71,6 +71,9 @@ $mustal_replacers = [ // Load all db_def from a DB connection into a db_def array function mustal_load_tables_from_db(string $host, string $schema, string $user, string $passwd, array $replacers) : array { + $tables = array(); + $views = array(); + // First get the contents of the database table structure $mysqli = mysqli_connect($host, $user, $passwd, $schema);