new function> escapeHtml + fix css in admin menus

This commit is contained in:
slawkens
2023-02-06 17:32:48 +01:00
parent 35a660be7d
commit 58bc0a7c28
5 changed files with 8 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ if($action == 'edit' || $action == 'new') {
'action' => $action,
'cl_link_form' => constant('ADMIN_URL').'?p=changelog&action=' . ($action == 'edit' ? 'edit' : 'add'),
'cl_id' => $id ?? null,
'body' => isset($body) ? htmlentities($body, ENT_COMPAT, 'UTF-8') : '',
'body' => isset($body) ? escapeHtml($body) : '',
'create_date' => $create_date ?? '',
'player_id' => $player_id ?? null,
'account_players' => $account_players,