aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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();