summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-08-27 08:33:35 +0000
committeralecpl <alec@alec.pl>2011-08-27 08:33:35 +0000
commit9a835c7f7ca3b2e1e021840254a15b0205388dfc (patch)
tree3bbfa9d683c6ba2c958bdf1f24b39749dbb62b64 /program/steps
parent20ed3794f69fb3551622fe17830493f5feff6ba9 (diff)
- Fix is_a() usage for PHP>5.3.6
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/func.inc2
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 &&