From 0356de45294cdd5a51c681d438c29cb4352f5458 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 7 Aug 2008 16:58:34 +0000 Subject: group tweak git-svn-id: https://code.elgg.org/elgg/trunk@1773 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/forums/addpost.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/groups/actions/forums/addpost.php b/mod/groups/actions/forums/addpost.php index 0c2f1b210..d18cd1fd0 100644 --- a/mod/groups/actions/forums/addpost.php +++ b/mod/groups/actions/forums/addpost.php @@ -21,7 +21,6 @@ $topic_guid = (int) get_input('topic_guid'); $group_guid = (int) get_input('group_guid'); $post = get_input('topic_post'); - $access = get_input('access'); // Let's see if we can get an entity with the specified GUID, and that it's a group forum topic if ($topic = get_entity($topic_guid)) { @@ -30,7 +29,7 @@ //check the user posted a message if($post){ // If posting the comment was successful, say so - if ($topic->annotate('group_topic_post',$post,$access, $_SESSION['guid'])) { + if ($topic->annotate('group_topic_post',$post,$topic->access_id, $_SESSION['guid'])) { system_message(elgg_echo("groupspost:success")); -- cgit v1.2.3