Add Security::remove_XSS in user list

pull/3291/head
Julio Montoya 6 years ago
parent ef12e1699b
commit 04bdf2f0a6
  1. 4
      main/user/user.php

@ -914,9 +914,9 @@ function get_user_data($from, $number_of_items, $column, $direction)
);
if (!empty($optionList)) {
$options = implode(', ', array_column($optionList, 'display_text'));
$temp[] = $options;
$temp[] = Security::remove_XSS($options);
} else {
$temp[] = $data['value'];
$temp[] = Security::remove_XSS($data['value']);
}
} else {
$temp[] = '';

Loading…
Cancel
Save