Commit 1deb325d authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed update of entries

parent 0362bafa
......@@ -347,10 +347,10 @@ class rspamd_plugin {
if($is_domain === true) {
foreach($entries_to_update['mail_user'] as $entry) {
$this->user_settings_update('mail_user_' . $mode, $entry, true);
$this->user_settings_update('mail_user_' . $mode, ['old' => $entry, 'new' => $entry], true);
}
foreach($entries_to_update['mail_forwarding'] as $entry) {
$this->user_settings_update('mail_forwarding_' . $mode, $entry, true);
$this->user_settings_update('mail_forwarding_' . $mode, ['old' => $entry, 'new' => $entry], true);
}
}
......
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