Skip to content

Commit

Permalink
Escape user group when displaying
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 22, 2016
1 parent 792cd12 commit 0b7416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/server_privileges.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3679,7 +3679,7 @@ function PMA_getHtmlTableBodyForUserRights($db_rights)
if ($cfgRelation['menuswork']) {
$html_output .= '<td class="usrGroup">' . "\n"
. (isset($group_assignment[$host['User']])
? $group_assignment[$host['User']]
? htmlspecialchars($group_assignment[$host['User']])
: ''
)
. '</td>' . "\n";
Expand Down

0 comments on commit 0b7416c

Please sign in to comment.