From 5ef227c4d1a05671285693e343093488cc9e0737 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 13 Sep 2004 07:58:35 +0000 Subject: [PATCH] fix for bug [ 1026126 ] Changing group ACL broken --- preferences/inc/class.uiaclprefs.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preferences/inc/class.uiaclprefs.inc.php b/preferences/inc/class.uiaclprefs.inc.php index 77c6423a94..81a252d687 100644 --- a/preferences/inc/class.uiaclprefs.inc.php +++ b/preferences/inc/class.uiaclprefs.inc.php @@ -71,7 +71,7 @@ } $owner_name = $GLOBALS['phpgw']->accounts->id2name($owner); // get owner name for title - if($no_privat_grant = $GLOBALS['phpgw']->accounts->get_type($owner) == 'g') + if($no_privat_grants = $GLOBALS['phpgw']->accounts->get_type($owner) == 'g') { $owner_name = lang('Group').' ('.$owner_name.')'; } @@ -194,7 +194,7 @@ )); $totalentries = $GLOBALS['phpgw']->accounts->total; - $memberships = $GLOBALS['phpgw']->acl->get_location_list_for_id('phpgw_group', 1, $owner); + $memberships = (array) $GLOBALS['phpgw']->acl->get_location_list_for_id('phpgw_group', 1, $owner); $header_type = ''; $processed = Array();