]> git.joonet.de Git - adminer.git/commitdiff
Foreign key: Avoid extra newline in error
authorJakub Vrana <jakub@vrana.cz>
Mon, 7 Apr 2025 17:59:53 +0000 (19:59 +0200)
committerJakub Vrana <jakub@vrana.cz>
Mon, 7 Apr 2025 17:59:53 +0000 (19:59 +0200)
adminer/foreign.inc.php

index 45f0b7ba796c9c202e79515d6c9ca649e6a9a21f..103d7ebf3cb9c044f2940fba2e5af77f79308f11 100644 (file)
@@ -31,7 +31,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["change"] && !$_POST["change-
                $result
        );
        if (!$row["drop"]) {
-               $error = "$error<br>" . 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
        }
 }