aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/riverdashboard/index.php')
-rw-r--r--mod/riverdashboard/index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php
index e025850ea..758aa4018 100644
--- a/mod/riverdashboard/index.php
+++ b/mod/riverdashboard/index.php
@@ -41,7 +41,12 @@ switch($orient) {
$title = elgg_view_title($title_wording);
-$river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false) . "</div>";
+//select the correct river
+if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic')
+ $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, true) . "</div>";
+else
+ $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false) . "</div>";
+
// Replacing callback calls in the nav with something meaningless
$river = str_replace('callback=true','replaced=88,334',$river);