From dfd0717740c1f654513b8b9c3a58be8560f6517f Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 18 Oct 2007 20:41:41 +0000 Subject: [PATCH] htmlspecialchars() is done in PMA_Message::addParam(), thanks to Sebastian --- tbl_relation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_relation.php b/tbl_relation.php index 55ebfb03f..66b866f59 100644 --- a/tbl_relation.php +++ b/tbl_relation.php @@ -221,7 +221,7 @@ if (isset($_REQUEST['destination_innodb'])) { } if (substr($tmp_error, 1, 4) == '1005') { $message = PMA_Message::warning('strForeignKeyError'); - $message->addParam(htmlspecialchars($master_field)); + $message->addParam($master_field); $message->display(); echo PMA_showMySQLDocu('manual_Table_types', 'InnoDB_foreign_key_constraints') . "\n"; }