Display correctly table names that contain html entities.

This commit is contained in:
Michal Čihař
2003-03-24 15:48:40 +00:00
parent 1a13e6c528
commit 5e61b3c7c8
2 changed files with 4 additions and 2 deletions

View File

@@ -127,10 +127,10 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) {
$table_name = htmlspecialchars($table);
$alias = (!empty($tooltip_aliasname) && isset($tooltip_aliasname[$table]))
? str_replace('"', '"', $tooltip_aliasname[$table])
? htmlspecialchars($tooltip_aliasname[$table])
: htmlspecialchars($sts_data['Name']);
$truename = (!empty($tooltip_truename) && isset($tooltip_truename[$table]))
? str_replace('"', '"', $tooltip_truename[$table])
? htmlspecialchars($tooltip_truename[$table])
: htmlspecialchars($sts_data['Name']);
// Sets parameters for links