fix for bug [ 1026126 ] Changing group ACL broken

This commit is contained in:
Ralf Becker 2004-09-13 08:02:59 +00:00
parent b8c3adb4d3
commit 94a08a86d2

View File

@ -71,7 +71,7 @@
} }
$owner_name = $GLOBALS['phpgw']->accounts->id2name($owner); // get owner name for title $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.')'; $owner_name = lang('Group').' ('.$owner_name.')';
} }
@ -194,7 +194,7 @@
)); ));
$totalentries = $GLOBALS['phpgw']->accounts->total; $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 = ''; $header_type = '';
$processed = Array(); $processed = Array();