mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 19:08:50 +03:00
Bugfix: when allowMultipleIdentities is false always return primaryIdentity
This commit is contained in:
parent
6ae38bfe1b
commit
dff89ea4e0
2 changed files with 6 additions and 4 deletions
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue