forked from extern/egroupware
fix editing of group acls for current group.
This commit is contained in:
parent
f275265a7b
commit
db2a6fc9f9
@ -200,7 +200,8 @@
|
|||||||
$processed = Array();
|
$processed = Array();
|
||||||
foreach($accounts as $uid => $data)
|
foreach($accounts as $uid => $data)
|
||||||
{
|
{
|
||||||
if ($uid == $owner) continue; // no need to grant to self
|
if ($data['account_type'] == 'u' && $uid == $owner)
|
||||||
|
continue; /* no need to grant to self if user */
|
||||||
|
|
||||||
if ($data['account_type'] != $header_type)
|
if ($data['account_type'] != $header_type)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user