aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/forums
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 16:58:34 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 16:58:34 +0000
commit0356de45294cdd5a51c681d438c29cb4352f5458 (patch)
treed53d5ac7a1007afa1dd7b89a29293c3761921434 /mod/groups/actions/forums
parentca0c1bfd57ef7e57d198d2127a381e9688dd2273 (diff)
downloadelgg-0356de45294cdd5a51c681d438c29cb4352f5458.tar.gz
elgg-0356de45294cdd5a51c681d438c29cb4352f5458.tar.bz2
group tweak
git-svn-id: https://code.elgg.org/elgg/trunk@1773 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/forums')
-rw-r--r--mod/groups/actions/forums/addpost.php3
1 files changed, 1 insertions, 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"));