mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Properly unescape apostrophe in column name
This commit is contained in:
@@ -17,7 +17,7 @@ $text_length = null;
|
||||
foreach ($fields as $key => $field) {
|
||||
$name = $adminer->fieldName($field);
|
||||
if (isset($field["privileges"]["select"]) && $name != "") {
|
||||
$columns[$key] = html_entity_decode(strip_tags($name));
|
||||
$columns[$key] = html_entity_decode(strip_tags($name), ENT_QUOTES);
|
||||
if (is_shortable($field)) {
|
||||
$text_length = $adminer->selectLengthProcess();
|
||||
}
|
||||
|
Reference in New Issue
Block a user