aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-24 07:52:27 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-24 07:52:27 -0400
commitfb0a9d896b9a0bd1193c63badad6a1990afc0109 (patch)
tree595e666f22aa3852ac2320b7b6192f64ab5c1d76 /views/default/river
parent9edc8c6004d1236a21e03fb1c820a6e749f1ee3b (diff)
downloadelgg-fb0a9d896b9a0bd1193c63badad6a1990afc0109.tar.gz
elgg-fb0a9d896b9a0bd1193c63badad6a1990afc0109.tar.bz2
fixed group forum discussion inline replies for activity page
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/elements/body.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/views/default/river/elements/body.php b/views/default/river/elements/body.php
index 080c04644..7eebb0c99 100644
--- a/views/default/river/elements/body.php
+++ b/views/default/river/elements/body.php
@@ -32,7 +32,13 @@ if ($attachments !== false) {
$attachments = "<div class=\"elgg-river-attachments\">$attachments</div>";
}
-$responses = elgg_view('river/elements/responses', $vars);
+$responses = elgg_extract('responses', $vars, false);
+if ($responses === false) {
+ $responses = elgg_view('river/elements/responses', $vars);
+}
+if ($responses) {
+ $responses = "<div class=\"elgg-river-responses\">$responses</div>";
+}
$group_string = '';
$object = $item->getObjectEntity();