Bugfix: when allowMultipleIdentities is false always return primaryIdentity

This commit is contained in:
djmaze 2021-11-16 13:40:16 +01:00
parent 6ae38bfe1b
commit dff89ea4e0
2 changed files with 6 additions and 4 deletions

View file

@ -43,8 +43,8 @@ class Identity implements \JsonSerializable
function __construct(string $sId = '', string $sEmail = '')
{
$this->sId = empty($sId) ? '' : $sId;
$this->sEmail = empty($sEmail) ? '' : $sEmail;
$this->sId = $sId;
$this->sEmail = $sEmail;
$this->sName = '';
$this->sReplyTo = '';
$this->sBcc = '';