diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-23 13:02:35 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-23 13:02:35 +0000 |
commit | 85b50974f4bc4165931c9000963c3f76c6b5c409 (patch) | |
tree | 5fe553fd76e85ba2bcbf9a7c09495f40ed5121c4 /mod/groups | |
parent | ff7ca9ecefa99f6b41e6e98c27296a1509e65117 (diff) | |
download | elgg-85b50974f4bc4165931c9000963c3f76c6b5c409.tar.gz elgg-85b50974f4bc4165931c9000963c3f76c6b5c409.tar.bz2 |
a couple more group comment edit tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@2893 36083f99-b078-4883-b0ff-0f9b5a30f544
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
|