Skip to content

Commit ec4f1ba

Browse files
author
Florian Schaal
committed
dkim: fixed error during resync
1 parent 67bdcee commit ec4f1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/mail_plugin_dkim.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ function domain_dkim_update($event_name, $data) {
405405
}
406406

407407
/* resync */
408-
if ($data['new']['active'] == 'y' && $data['new'] == $data['old']) {
408+
if ($data['new']['active'] == 'y' && $data['new'] == $data['old'] && $data['new']['dkim']=='y') {
409409
$this->add_dkim($data);
410410
}
411411
}

0 commit comments

Comments
 (0)