mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix account selection missing members of non-primary groups
This commit is contained in:
parent
aca00c49f7
commit
c1689c7328
@ -505,6 +505,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
if($select_pref == 'popup') break;
|
||||
|
||||
$no_lang = True;
|
||||
$accs = array();
|
||||
if(!$mygroups)
|
||||
{
|
||||
$accs = $GLOBALS['egw']->accounts->search(array(
|
||||
@ -516,7 +517,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
{
|
||||
foreach($mygroups as $group)
|
||||
{
|
||||
$accs = $GLOBALS['egw']->accounts->search(array(
|
||||
$accs += $GLOBALS['egw']->accounts->search(array(
|
||||
'type' => $group,
|
||||
'order' => 'account_fullname', // order according to pref of how to display accounts
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user