diff --git a/plugins/configuration/mailtemplate/class_mailTemplate.inc b/plugins/configuration/mailtemplate/class_mailTemplate.inc index 048f2cb968ee9979c9e9742bd609d0fb8ca47d46..ff3906a5e9d2135e80c4a25a6cf4431b2ebdf3ef 100644 --- a/plugins/configuration/mailtemplate/class_mailTemplate.inc +++ b/plugins/configuration/mailtemplate/class_mailTemplate.inc @@ -68,6 +68,7 @@ class mailTemplate extends simplePlugin _('Read Receipt'), 'fdMailTemplateReadReceipt', FALSE ), + // Management of attachments files in a sub-node ldap format. new SubNodesAttribute( '', _('Attachments'), 'attachments', ['fdMailAttachments'], @@ -98,6 +99,13 @@ class mailTemplate extends simplePlugin } + protected function shouldSave (): bool + { + // Trigger a save method required due to sub nodes not being triggered by default. (Modification and suppression). + return TRUE; + } + + function ldap_save (): array { global $config;