Skip to content

Commit 14ee738

Browse files
author
Till Brehm
committed
Fixed: FS#3609 - When create a sieve filter (ex. autoresponder) insert null in file.
1 parent 308c18a commit 14ee738

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/plugins-available/maildeliver_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ function update($event_name, $data) {
130130
$tpl->setLoop('ccloop', $tmp_addresses_arr);
131131

132132
// Custom filters
133+
if($data["new"]["custom_mailfilter"] == 'NULL') $data["new"]["custom_mailfilter"] = '';
133134
$tpl->setVar('custom_mailfilter', $data["new"]["custom_mailfilter"]);
134135

135136
// Move junk

0 commit comments

Comments
 (0)