mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
fixing the fix: -2 has nothing to do with the default group, it is the id for the default prefs
This commit is contained in:
parent
42b0097681
commit
e8be3ed748
@ -923,13 +923,10 @@
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$memberships = array();
|
|
||||||
}
|
}
|
||||||
else
|
$memberships = $GLOBALS['egw']->accounts->memberships($accountid,true);
|
||||||
{
|
|
||||||
$memberships = $GLOBALS['egw']->accounts->memberships($accountid);
|
if($groupid && !in_array($groupid,$memberships))
|
||||||
}
|
|
||||||
if($groupid)
|
|
||||||
{
|
{
|
||||||
$memberships[] = $groupid;
|
$memberships[] = $groupid;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user