mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +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();
|
$options = array();
|
||||||
foreach($groups as $group) {
|
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(
|
$this->formField(
|
||||||
getMLText("groups"),
|
getMLText("groups"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user