Commit 2e5bd80c authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FIX #14753 TIME 0:05 fix update datasource for notification templates in template update

parent 2ce44cc7
......@@ -237,7 +237,8 @@ class TemplateController
'template_label' => $body['label'],
'template_comment' => $body['description'],
'template_attachment_type' => $body['template_attachment_type'],
'subject' => $subject
'subject' => $subject,
'template_datasource' => $body['datasource']
];
if (!empty($body['options'])) {
if (!empty($body['options']['acknowledgementReceiptFrom']) && !in_array($body['options']['acknowledgementReceiptFrom'], ['manual', 'destination', 'mailServer', 'user' ])) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment