allow to clall getHeader before __construct (happens in old send class)

This commit is contained in:
Ralf Becker 2014-11-25 16:06:49 +00:00
parent 51c4e0e580
commit 5bbfcc41f2

View File

@ -326,7 +326,7 @@ class egw_mailer extends Horde_Mime_Mail
*/
function getHeader($header)
{
return $this->_headers->getString($header);
return $this->_headers ? $this->_headers->getString($header) : null;
}
/**