diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 4ef073fd..fc005485 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -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(); }