Skip to content

Commit e9c89a7

Browse files
author
Marius Burkard
committed
- fixed missing tpl class loading
1 parent 5e807fd commit e9c89a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/plugins-available/postfix_server_plugin.inc.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ function update($event_name, $data) {
215215
}
216216

217217
if($mail_config['content_filter'] == 'rspamd' && ($mail_config['rspamd_password'] != $old_ini_data['mail']['rspamd_password'] || $mail_config['content_filter'] != $old_ini_data['mail']['content_filter'])) {
218+
$app->load('tpl');
219+
218220
$tpl = new tpl();
219221
$tpl->newTemplate('rspamd_worker-controller.inc.master');
220222
$tpl->setVar('rspamd_password', $mail_config['rspamd_password']);

0 commit comments

Comments
 (0)