diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 16:47:03 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-27 16:47:03 +0000 |
commit | 401478ab14d41277afd0549a216a639e4eb984cb (patch) | |
tree | 9b6bd3d1d627fac842e24c4dc8b5417011e7682a /mod/groups/views/default | |
parent | 85064fbe0ebc019fe2e7f96a2b0fae09f24f2c98 (diff) | |
download | elgg-401478ab14d41277afd0549a216a639e4eb984cb.tar.gz elgg-401478ab14d41277afd0549a216a639e4eb984cb.tar.bz2 |
forum post edit bug fixed
git-svn-id: https://code.elgg.org/elgg/trunk@2986 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r-- | mod/groups/views/default/forum/topicposts.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php index 85f2d62ad..5a3e018d7 100644 --- a/mod/groups/views/default/forum/topicposts.php +++ b/mod/groups/views/default/forum/topicposts.php @@ -68,7 +68,8 @@ $submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
$text_textarea = elgg_view('input/longtext', array('internalname' => 'postComment'.$vars['entity']->id, 'value' => $vars['entity']->value));
$post = elgg_view('input/hidden', array('internalname' => 'post', 'value' => $vars['entity']->id));
- $topic = elgg_view('input/hidden', array('internalname' => 'topic', 'value' => get_input('topic')));
+ $field = elgg_view('input/hidden', array('internalname' => 'field_num', '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')));
$form_body = <<<EOT
@@ -80,6 +81,7 @@ $post
$topic
$group
+ $field
<p>
$submit_input
</p>
|