mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-17 18:41:46 +02:00
fix: #9398, crash on post flag
This commit is contained in:
@@ -134,7 +134,7 @@ Groups.get = async function (groupName, options) {
|
||||
if (!groupData) {
|
||||
return null;
|
||||
}
|
||||
const descriptionParsed = await plugins.hooks.fire('filter:parse.raw', groupData.description);
|
||||
const descriptionParsed = await plugins.hooks.fire('filter:parse.raw', String(groupData.description || ''));
|
||||
groupData.descriptionParsed = descriptionParsed;
|
||||
groupData.members = members;
|
||||
groupData.membersNextStart = stop + 1;
|
||||
|
||||
Reference in New Issue
Block a user