Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
ab158def
Commit
ab158def
authored
May 28, 2021
by
Guillaume Heurtier
Browse files
FIX #14753 TIME 0:05 fix update datasource for notification templates in template admin
parent
f48f9209
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/template/controllers/TemplateController.php
View file @
ab158def
...
...
@@ -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'
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment