aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/views')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php
index a9b8cce8c..588ed89d1 100755
--- a/mod/profile/views/default/profile/profile_contents/activity.php
+++ b/mod/profile/views/default/profile/profile_contents/activity.php
@@ -17,10 +17,12 @@
}
if(is_plugin_enabled('riverdashboard')) {
//select the correct river
- if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic')
+ if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic') {
echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,true);
- else
+ } else {
echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
+ echo elgg_view('riverdashboard/js');
+ }
} else {
echo "Riverdashboard not loaded";
}