From: jakubvrana Date: Tue, 28 Jul 2009 13:43:02 +0000 (+0000) Subject: Comment X-Git-Tag: v3.0.0~599 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=df4fa66b4657811f6947519a621d95e0e13afa62;p=adminer.git Comment git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@928 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index 7e46238a..709eda63 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -15,7 +15,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["change"] && !$_POST["change- . (in_array($_POST["on_delete"], $on_actions) ? " ON DELETE $_POST[on_delete]" : "") . (in_array($_POST["on_update"], $on_actions) ? " ON UPDATE $_POST[on_update]" : "") , $SELF . "table=" . urlencode($_GET["foreign"]), (strlen($_GET["name"]) ? lang('Foreign key has been altered.') : lang('Foreign key has been created.'))); - $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 exists.') . "
$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 exists.') . "
$error"; //! no partitioning } }