Various fixes
This commit is contained in:
parent
4a6aed4cf7
commit
97bb700334
5 changed files with 8 additions and 6 deletions
|
@ -129,7 +129,7 @@ async function _sendMail(list, email, template, locale, subjectKey, relativeUrls
|
|||
};
|
||||
|
||||
if (list.default_form) {
|
||||
const form = await forms.getById(contextHelpers.getAdminContext(), list.default_form);
|
||||
const form = await forms.getById(contextHelpers.getAdminContext(), list.default_form, false);
|
||||
|
||||
text.template = form['mail_' + template + '_text'] || text.template;
|
||||
html.template = form['mail_' + template + '_html'] || html.template;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue