aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 12:39:08 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-23 12:39:08 +0000
commit73c1b0207ba461c17d2f1fc122d817fa6cce02d0 (patch)
tree79a6b20e9c8afb7395c47ad048d75a539ae62a32
parentecc0629c226b2484036df49da8139dcd3f91a005 (diff)
downloadelgg-73c1b0207ba461c17d2f1fc122d817fa6cce02d0.tar.gz
elgg-73c1b0207ba461c17d2f1fc122d817fa6cce02d0.tar.bz2
small edit comment bug fixed
git-svn-id: https://code.elgg.org/elgg/trunk@2891 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/groups/actions/forums/editpost.php2
-rw-r--r--mod/groups/views/default/forum/topicposts.php2
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>