From 85b50974f4bc4165931c9000963c3f76c6b5c409 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 23 Feb 2009 13:02:35 +0000 Subject: a couple more group comment edit tweaks git-svn-id: https://code.elgg.org/elgg/trunk@2893 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/forums/editpost.php | 2 +- mod/groups/views/default/forum/topicposts.php | 1 - 2 files changed, 1 insertion(+), 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 = <<