mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
group escape fixes
This commit is contained in:
@@ -34,7 +34,6 @@ groupsController.list = function(req, res, next) {
|
||||
groups.getGroupsData(groupNames, next);
|
||||
},
|
||||
function(groupData, next) {
|
||||
groupData.forEach(groups.escapeGroupData);
|
||||
next(null, {groups: groupData, pagination: pagination.create(page, pageCount)});
|
||||
}
|
||||
], function(err, data) {
|
||||
@@ -43,10 +42,10 @@ groupsController.list = function(req, res, next) {
|
||||
}
|
||||
|
||||
res.render('admin/manage/groups', {
|
||||
groups: data.groups,
|
||||
pagination: data.pagination,
|
||||
yourid: req.user.uid
|
||||
});
|
||||
groups: data.groups,
|
||||
pagination: data.pagination,
|
||||
yourid: req.user.uid
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user