diff options
-rw-r--r-- | mod/groups/actions/forums/editpost.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/mod/groups/actions/forums/editpost.php b/mod/groups/actions/forums/editpost.php index bd37c5c31..390d0ae5b 100644 --- a/mod/groups/actions/forums/editpost.php +++ b/mod/groups/actions/forums/editpost.php @@ -22,7 +22,7 @@ $post = get_input("post");
$post_comment = get_input("postComment");
$annotation = get_annotation($post);
- $commentOwner = get_input("commentOwner");
+ $commentOwner = $annotation->owner_guid;
$access_id = get_input("access_id");
$topic = get_input("topic");
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index 8806486c9..78a233fe7 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')));
- $commentOwner = elgg_view('input/hidden', array('internalname' => 'commentOwner', 'value' => $vars['entity']->owner_guid));
$access = elgg_view('input/hidden', array('internalname' => 'access', 'value' => $vars['entity']->access_id));
$form_body = <<<EOT
@@ -81,7 +80,6 @@ $post
$topic
$group
- $commentOwner
<p>
$submit_input
</p>
|