aboutsummaryrefslogtreecommitdiff
path: root/pages/river.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/river.php')
-rw-r--r--pages/river.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/pages/river.php b/pages/river.php
index 7f2fce3d6..5770084ab 100644
--- a/pages/river.php
+++ b/pages/river.php
@@ -3,12 +3,12 @@
* Main activity stream list page
*/
-// $page_type comes from the page handler function
-
$options = array();
-$type = get_input('type', 'all');
-$subtype = get_input('subtype', '');
+$page_type = preg_replace('[\W]', '', get_input('page_type', 'all'));
+$type = preg_replace('[\W]', '', get_input('type', 'all'));
+$active_section =
+$subtype = preg_replace('[\W]', '', get_input('subtype', ''));
if ($subtype) {
$selector = "type=$type&subtype=$subtype";
} else {
@@ -49,7 +49,6 @@ $sidebar = elgg_view('core/river/sidebar');
$params = array(
'content' => $content . $activity,
'sidebar' => $sidebar,
- 'buttons' => '',
'filter_context' => $page_filter,
'class' => 'elgg-river-layout',
);