works with the array as args to the constructor

This commit is contained in:
skeeter 2001-01-30 04:57:55 +00:00
parent d5f8a75504
commit 0267cb49d6

View File

@ -148,9 +148,7 @@
$selected_users[$phpgw->db->f("account_id")] = " selected"; $selected_users[$phpgw->db->f("account_id")] = " selected";
} }
$apps = CreateObject('phpgwapi.applications'); $apps = CreateObject('phpgwapi.applications',array(intval($group_id),'g'));
$apps->account_id = $group_id;
$apps->account_type = 'g';
$db_perms = $apps->enabled_apps(); $db_perms = $apps->enabled_apps();
} }