summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-01-28 10:52:02 +0000
committeralecpl <alec@alec.pl>2009-01-28 10:52:02 +0000
commit5c771cb25e62494cba263097175d9b718acb8aba (patch)
tree411f253b70d79f66511116a5edec77f7d0a8f16d /program/steps/mail/func.inc
parent3866fd4681577010011494275580516f7b29f970 (diff)
- Fix MDNSent flag checking, use arbitrary keywords (asterisk) flag (#1485706)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 06d949838..0ccc2cc13 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1296,7 +1296,8 @@ function rcmail_send_mdn($uid)
$message = new rcube_message($uid);
- if ($message->headers->mdn_to && !$message->headers->mdn_sent && $IMAP->check_permflag('MDNSENT'))
+ if ($message->headers->mdn_to && !$message->headers->mdn_sent &&
+ ($IMAP->check_permflag('MDNSENT') || $IMAP->check_permflag('*')))
{
$identity = $RCMAIL->user->get_identity();
$sender = format_email_recipient($identity['email'], $identity['name']);