mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-02 20:59:56 +01:00
Merge remote-tracking branch 'origin/develop' into activitypub
This commit is contained in:
@@ -310,6 +310,7 @@ usersController.customFields = async function (req, res) {
|
||||
field.selectOptionsFormatted = field['select-options'].trim().split('\n').join(', ');
|
||||
}
|
||||
field['min:rep'] = field['min:rep'] || 0;
|
||||
field.visibility = field.visibility || 'all';
|
||||
});
|
||||
res.render('admin/manage/users/custom-fields', { fields: fields });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user