Skip to content

Commit a81ab9b

Browse files
author
thom
committed
Backport from !738
1 parent 98ba3c4 commit a81ab9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugins-available/getmail_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function insert($event_name, $data) {
7676

7777
function update($event_name, $data) {
7878
global $app, $conf;
79-
79+
8080
// Do not write getmail config files on mirror servers to avoid double fetching of emails.
8181
if($conf['mirror_server_id'] > 0) return true;
8282

@@ -116,7 +116,7 @@ function update($event_name, $data) {
116116
$tpl = str_replace('{DELETE}', 'false', $tpl);
117117
}
118118

119-
if($data["new"]["read_all"] == 'y') {
119+
if($data["new"]["source_read_all"] == 'y') {
120120
$tpl = str_replace('{READ_ALL}', 'true', $tpl);
121121
} else {
122122
$tpl = str_replace('{READ_ALL}', 'false', $tpl);

0 commit comments

Comments
 (0)