diff options
author | cash <cash.costello@gmail.com> | 2011-07-02 10:26:39 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-07-02 10:26:39 -0400 |
commit | 3beedd84a7dbcf7a17a75248473302320653d231 (patch) | |
tree | 8bdb6a30f8a92c6f609f3250e2e50f33e9bdd903 /pages | |
parent | b307bcbdc8b0f269a5408a824dc4a7c3c2e9570f (diff) | |
download | elgg-3beedd84a7dbcf7a17a75248473302320653d231.tar.gz elgg-3beedd84a7dbcf7a17a75248473302320653d231.tar.bz2 |
fixed river for #3544
Diffstat (limited to 'pages')
-rw-r--r-- | pages/river.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/river.php b/pages/river.php index fa559d59b..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 { |