aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-12-05 01:24:02 +0100
committerSem <sembrestels@riseup.net>2012-12-05 01:24:02 +0100
commitb3b12344bfee097b06019d6ee83b1952cb3088ea (patch)
treebed27fb100d57ae6af8ab2c9565ae014c05add1c /mod/messages/views/default
parentf1bf7ee85a2c2a170e5e034ff5ee66ed374feb7c (diff)
downloadelgg-b3b12344bfee097b06019d6ee83b1952cb3088ea.tar.gz
elgg-b3b12344bfee097b06019d6ee83b1952cb3088ea.tar.bz2
Refs #4842. Relating replies to original messages.
Diffstat (limited to 'mod/messages/views/default')
-rw-r--r--mod/messages/views/default/forms/messages/reply.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/messages/views/default/forms/messages/reply.php b/mod/messages/views/default/forms/messages/reply.php
index 9f3f4b57e..a0a01afce 100644
--- a/mod/messages/views/default/forms/messages/reply.php
+++ b/mod/messages/views/default/forms/messages/reply.php
@@ -15,6 +15,11 @@ echo elgg_view('input/hidden', array(
'name' => 'recipient_guid',
'value' => $vars['message']->fromId,
));
+echo elgg_view('input/hidden', array(
+ 'name' => 'reply',
+ 'value' => $vars['message']->guid,
+));
+
?>
<div>
@@ -35,4 +40,4 @@ echo elgg_view('input/hidden', array(
</div>
<div class="elgg-foot">
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
-</div> \ No newline at end of file
+</div>