From be6cf07d26200761c1b94ef6c7d8333b03c008a6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 7 Apr 2025 19:59:53 +0200 Subject: [PATCH] Foreign key: Avoid extra newline in error --- adminer/foreign.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index 45f0b7ba..103d7ebf 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -31,7 +31,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["change"] && !$_POST["change- $result ); if (!$row["drop"]) { - $error = "$error
" . lang('Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.'); //! no partitioning + $error = lang('Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.'); //! no partitioning } }