htmlspecialchars() is done in PMA_Message::addParam(), thanks to Sebastian

This commit is contained in:
Marc Delisle
2007-10-18 20:41:41 +00:00
parent e9da128bc0
commit dfd0717740

View File

@@ -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";
}