Various fixes
This commit is contained in:
parent
4a6aed4cf7
commit
97bb700334
5 changed files with 8 additions and 6 deletions
|
@ -675,7 +675,7 @@ async function webNotice(type, req, res) {
|
|||
}
|
||||
};
|
||||
|
||||
await injectCustomFormData(req.query.fid || list.default_form, 'web_' + type + '_notice', data);
|
||||
await injectCustomFormData(req.query.fid || list.default_form, 'web_' + type.replace('-', '_') + '_notice', data);
|
||||
|
||||
const htmlRenderer = await tools.getTemplate(data.template, req.locale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue