Commit 1b9bfb8c authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

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

parent 906e4ccb
......@@ -238,7 +238,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' ])) {
......
Markdown is supported
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