From 73c1b0207ba461c17d2f1fc122d817fa6cce02d0 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 23 Feb 2009 12:39:08 +0000 Subject: small edit comment bug fixed git-svn-id: https://code.elgg.org/elgg/trunk@2891 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/actions/forums/editpost.php | 2 +- mod/groups/views/default/forum/topicposts.php | 2 -- 2 files changed, 1 insertion(+), 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 = << $submit_input

-- cgit v1.2.3