mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix editing of group acls for current group.
This commit is contained in:
parent
c545d8b95d
commit
558d9924a4
@ -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