Node.js based forum software built for the modern web
https://github.com/NodeBB/NodeBB/issues/6433
Barış Soner Uşaklı7e00d6b91e4c
diff --git a/src/controllers/accounts/profile.js b/src/controllers/accounts/profile.jsindex fc9f9cb5b4..5d33e198fc 100644--- a/src/controllers/accounts/profile.js+++ b/src/controllers/accounts/profile.js@@ -122,8 +122,9 @@ profileController.get = function (req, res, callback) {});}- userData.selectedGroup = userData.groups.find(function (group) {- return group && group.name === userData.groupTitle;++ userData.selectedGroup = userData.groups.filter(function (group) {+ return group && userData.groupTitleArray.includes(group.name);});plugins.fireHook('filter:user.account', { userData: userData, uid: req.uid }, next);