diff --git a/libraries/classes/Table.php b/libraries/classes/Table.php
index 5d345fe54b..7c6c82fca3 100644
--- a/libraries/classes/Table.php
+++ b/libraries/classes/Table.php
@@ -1051,15 +1051,9 @@ class Table implements Stringable
}
/**
- * The old structure of the table..
+ * The old structure of the table.
*/
- $sqlStructure = $exportSqlPlugin->getTableDef(
- $sourceDb,
- $sourceTable,
- $GLOBALS['errorUrl'],
- false,
- false
- );
+ $sqlStructure = $exportSqlPlugin->getTableDef($sourceDb, $sourceTable, false, false);
unset($noConstraintsComments);
diff --git a/psalm-baseline.xml b/psalm-baseline.xml
index 7de6c051d9..81dde8dd3e 100644
--- a/psalm-baseline.xml
+++ b/psalm-baseline.xml
@@ -13069,8 +13069,7 @@
$tableAutoIncrement ?? ''
-
- $GLOBALS['errorUrl']
+
$GLOBALS['sql_auto_increments']
$GLOBALS['sql_indexes']
$_POST['constraint_name'][$masterFieldMd5]
@@ -13289,8 +13288,7 @@
$_POST['on_update'][$masterFieldMd5]
$_POST['on_update'][$masterFieldMd5]
-
- $GLOBALS['errorUrl']
+
$GLOBALS['showtable']['Name']
$commentsCopyRow['column_name']
$commentsCopyRow['comment']