From d2889b825d4e53619808d49f9ed3b55dca549b9b Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 26 May 2010 15:55:29 +0000 Subject: group discussion access defaults to the group git-svn-id: http://code.elgg.org/elgg/trunk@6233 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forms/forums/addtopic.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mod/groups') diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php index fcc75f7a7..ca972c714 100644 --- a/mod/groups/views/default/forms/forums/addtopic.php +++ b/mod/groups/views/default/forms/forums/addtopic.php @@ -19,13 +19,14 @@ $message = ""; $message_id = ""; $status = ""; - $access_id = ACCESS_DEFAULT; - + // get the group guid $group_guid = (int) get_input('group_guid'); // set up breadcrumbs $group = get_entity($group_guid); + $access_id = $group->group_acl; + $options = group_access_options($group); elgg_push_breadcrumb(elgg_echo('groups'), $CONFIG->wwwroot."pg/groups/world/"); elgg_push_breadcrumb($group->name, $group->getURL()); elgg_push_breadcrumb(elgg_echo('item:object:groupforumtopic'), $CONFIG->wwwroot."pg/groups/forum/{$group_guid}/"); @@ -93,7 +94,7 @@

-- cgit v1.2.3