From f71bfe32e07a61f0bf595d417475759ead109ac4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Nov 2014 16:01:41 +0000 Subject: [PATCH] adding trace to error_log tracking access to old PHPMailer properties --- phpgwapi/inc/class.egw_mailer.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_mailer.inc.php b/phpgwapi/inc/class.egw_mailer.inc.php index ff67014566..e4744ac7f0 100644 --- a/phpgwapi/inc/class.egw_mailer.inc.php +++ b/phpgwapi/inc/class.egw_mailer.inc.php @@ -631,7 +631,7 @@ class egw_mailer extends Horde_Mime_Mail !$this->is_html ? $this->setHtmlBody($value, null, false) : $this->setBody($value); break; default: - error_log(__METHOD__."('$name', ".array2string($value).") unsupported attribute '$name' --> ignored"); + error_log(__METHOD__."('$name', ".array2string($value).") unsupported attribute '$name' --> ignored ".function_backtrace()); break; } } @@ -654,7 +654,7 @@ class egw_mailer extends Horde_Mime_Mail $body = $this->findBody($name == 'Body' ? 'plain' : 'html'); return $body ? $body->getContents() : null; } - error_log(__METHOD__."('$name') unsupported attribute '$name' --> returning NULL"); + error_log(__METHOD__."('$name') unsupported attribute '$name' --> returning NULL ".function_backtrace()); return null; }