From bb5157d338b6d79c586c822ca6979bbb4ea3e5b9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 29 Jan 2021 11:19:35 +0100 Subject: [PATCH] Fix sieve rules edit dialog loses its matches field value after re-opening the entry --- mail/inc/class.mail_sieve.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mail/inc/class.mail_sieve.inc.php b/mail/inc/class.mail_sieve.inc.php index a803e2b70a..6964e608b0 100644 --- a/mail/inc/class.mail_sieve.inc.php +++ b/mail/inc/class.mail_sieve.inc.php @@ -253,6 +253,7 @@ class mail_sieve case 'reject': $content['action_reject_text'] = $rules['action_arg']; } + $content['anyof'] = $rules['anyof'] != 0?1:0; } else // Adding new rule {