diff options
Diffstat (limited to 'mod/groups')
-rw-r--r-- | mod/groups/actions/forums/editpost.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/mod/groups/actions/forums/editpost.php b/mod/groups/actions/forums/editpost.php index 390d0ae5b..e3b5566ef 100644 --- a/mod/groups/actions/forums/editpost.php +++ b/mod/groups/actions/forums/editpost.php @@ -23,7 +23,7 @@ $post_comment = get_input("postComment");
$annotation = get_annotation($post);
$commentOwner = $annotation->owner_guid;
- $access_id = get_input("access_id");
+ $access_id = $annotation->access_id;
$topic = get_input("topic");
if($annotation){
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index a51ce43f8..dd86c6679 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -69,7 +69,6 @@ $post = elgg_view('input/hidden', array('internalname' => 'post', 'value' => $vars['entity']->id));
$topic = elgg_view('input/hidden', array('internalname' => 'topic', 'value' => get_input('topic')));
$group = elgg_view('input/hidden', array('internalname' => 'group', 'value' => get_input('group_guid')));
- $access = elgg_view('input/hidden', array('internalname' => 'access', 'value' => $vars['entity']->access_id));
$form_body = <<<EOT
|