diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-27 08:33:35 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-08-27 08:33:35 +0000 |
| commit | a8822e0901a3edb6252f8cefac3c0d1f48ef3c8b (patch) | |
| tree | c839d144da6f37b5cb9e85a07ac0e0dc14b4628c /roundcubemail/program/steps/mail/func.inc | |
| parent | e9276f9c1450dfc7453881b0d98d4d0b18f9c535 (diff) | |
- Fix is_a() usage for PHP>5.3.6
git-svn-id: https://svn.roundcube.net/trunk@5138 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 50de7108d..ae0d3a55c 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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 && |
