diff options
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 50de7108d..ae0d3a55c 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1451,7 +1451,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 && |