mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 13:58:40 +01:00
* email: compose, control the display of identities - identical identities should only be displayed once
This commit is contained in:
parent
6399e345cf
commit
4fc9ab1a66
@ -364,7 +364,7 @@
|
||||
$defaultIdentity = 0;
|
||||
foreach($allIdentities as $key => $singleIdentity) {
|
||||
#$identities[$singleIdentity->id] = $singleIdentity->realName.' <'.$singleIdentity->emailAddress.'>';
|
||||
$identities[$key] = $singleIdentity->realName.' <'.$singleIdentity->emailAddress.'>';
|
||||
if (array_search($singleIdentity->realName.' <'.$singleIdentity->emailAddress.'>',$identities)==false) $identities[$key] = $singleIdentity->realName.' <'.$singleIdentity->emailAddress.'>';
|
||||
if(!empty($singleIdentity->default)) {
|
||||
#$defaultIdentity = $singleIdentity->id;
|
||||
$defaultIdentity = $key;
|
||||
|
Loading…
Reference in New Issue
Block a user