Display correctly table names that contain html entities.
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
||||
* db_details_structure.php3, mult_submits.inc.php3, tbl_alter.php3,
|
||||
tbl_properties_structure.php3: Show result of CHECK/OPTIMIZE/REPAIR
|
||||
queries for multiple tables.
|
||||
* db_details_structure.php3: Display correctly table names that contain
|
||||
html entities.
|
||||
|
||||
2003-03-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php3, libraries/config_import.lib.php3,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user