From db2a6fc9f9881eb5b2aaa9726aaecdf39dda3f71 Mon Sep 17 00:00:00 2001 From: mgalgoci Date: Thu, 2 Sep 2004 15:52:06 +0000 Subject: [PATCH] fix editing of group acls for current group. --- preferences/inc/class.uiaclprefs.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/preferences/inc/class.uiaclprefs.inc.php b/preferences/inc/class.uiaclprefs.inc.php index 34bf776846..77c6423a94 100644 --- a/preferences/inc/class.uiaclprefs.inc.php +++ b/preferences/inc/class.uiaclprefs.inc.php @@ -200,7 +200,8 @@ $processed = Array(); 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) {