mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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