mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-14 17:14:30 +08:00
Bugfix: switch from AdditionalAccount to MainAccount
This commit is contained in:
parent
ce413b7b7a
commit
632e9b9b41
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ trait Accounts
|
|||
$aResult['IncLogin'] = $oAccount->IncLogin();
|
||||
$aResult['OutLogin'] = $oAccount->OutLogin();
|
||||
$aResult['AccountHash'] = $oAccount->Hash();
|
||||
$aResult['ParentEmail'] = $oAccount->ParentEmail();
|
||||
$aResult['ParentEmail'] = ($oAccount instanceof \RainLoop\Model\AdditionalAccount)
|
||||
? $oAccount->ParentEmail() : '';
|
||||
$aResult['ContactsIsAllowed'] = $this->AddressBookProvider($oAccount)->IsActive();
|
||||
$oSettingsLocal = $this->SettingsProvider(true)->Load($oAccount);
|
||||
if ($oSettingsLocal instanceof Settings) {
|
||||
|
|
Loading…
Add table
Reference in a new issue