diff options
author | alecpl <alec@alec.pl> | 2011-08-31 12:49:44 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-08-31 12:49:44 +0000 |
commit | b08caf5813c43e8648cdf5db1e003b3046a37c2c (patch) | |
tree | e87f3c8cd0802c550459f26de1473bbcd4107131 /program/steps/mail/func.inc | |
parent | fd6146b6780c526a04682cda89b133e2d9bbd910 (diff) |
- Applied fixes from trunk up to r5150
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index b04628fa4..0c19b661b 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1448,7 +1448,7 @@ function rcmail_send_mdn($message, &$smtp_error) { global $RCMAIL, $IMAP; - if (!is_a($message, rcube_message)) + if (!is_object($message) || !is_a($message, rcube_message)) $message = new rcube_message($message); if ($message->headers->mdn_to && !$message->headers->mdn_sent && |