Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2011-05-04 02:52:37 +0400
committerMarc Delisle <marc@infomarc.info>2011-05-04 02:52:37 +0400
commitb2b1953db11219b5ac801ab58c3ecff2cfbb7f29 (patch)
tree5f477254cd08fea3f121eefce4725e33af6b70c0 /tbl_relation.php
parent90845aa8cbec8788c92e48090a214ff89a2309b3 (diff)
Start to replace warning level with error level
Diffstat (limited to 'tbl_relation.php')
-rw-r--r--tbl_relation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_relation.php b/tbl_relation.php
index 68288e11a2..400fc6319e 100644
--- a/tbl_relation.php
+++ b/tbl_relation.php
@@ -273,7 +273,7 @@ if (isset($_REQUEST['destination_foreign'])) {
echo PMA_showMySQLDocu('manual_Table_types', 'InnoDB_foreign_key_constraints') . "\n";
}
if (substr($tmp_error, 1, 4) == '1005') {
- $message = PMA_Message::warning( __('Error creating foreign key on %1$s (check data types)'));
+ $message = PMA_Message::error( __('Error creating foreign key on %1$s (check data types)'));
$message->addParam($master_field);
$message->display();
echo PMA_showMySQLDocu('manual_Table_types', 'InnoDB_foreign_key_constraints') . "\n";