aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/forums/editpost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/actions/forums/editpost.php b/mod/groups/actions/forums/editpost.php
index 7f6e75683..08c2dd703 100644
--- a/mod/groups/actions/forums/editpost.php
+++ b/mod/groups/actions/forums/editpost.php
@@ -20,7 +20,8 @@
//get the required variables
$post = get_input("post");
- $post_comment = get_input("postComment");
+ $field_num = get_input("field_num");
+ $post_comment = get_input("postComment{$field_num}");
$annotation = get_annotation($post);
$commentOwner = $annotation->owner_guid;
$access_id = $annotation->access_id;