forked from extern/egroupware
allow to clall getHeader before __construct (happens in old send class)
This commit is contained in:
parent
51c4e0e580
commit
5bbfcc41f2
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user