mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
escape group name in list of groups
This commit is contained in:
parent
aed0c3cdf3
commit
0fe038e512
|
@ -320,7 +320,7 @@ $(document).ready( function() {
|
|||
);
|
||||
$options = array();
|
||||
foreach($groups as $group) {
|
||||
$options[] = array($group->getID(), $group->getName(), ($currUser && $group->isMember($currUser)));
|
||||
$options[] = array($group->getID(), htmlspecialchars($group->getName()), ($currUser && $group->isMember($currUser)));
|
||||
}
|
||||
$this->formField(
|
||||
getMLText("groups"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user