diff options
-rw-r--r-- | include/filter.inc.php | 2 | ||||
-rw-r--r-- | include/menubar.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/filter.inc.php b/include/filter.inc.php index 2dbd37a9d..fb0474bbd 100644 --- a/include/filter.inc.php +++ b/include/filter.inc.php @@ -41,7 +41,7 @@ if (!get_filter_page_value('cancel')) { $filter['matches'] = array(); $filter['enabled'] = - preg_match('/^start-(\d+)/', $_GET['filter'], $filter['matches']) === 1; + preg_match('/^start-recent-(\d+)$/', $_GET['filter'], $filter['matches']) === 1; } else { diff --git a/include/menubar.inc.php b/include/menubar.inc.php index dce77aef6..09d08a902 100644 --- a/include/menubar.inc.php +++ b/include/menubar.inc.php @@ -81,7 +81,7 @@ if (!empty($conf['filter_pages']) and get_filter_page_value('used')) $template->assign_block_vars( 'start_filter', array( - 'URL' => add_url_params(make_index_url(array()), array('filter' => 'start-'.$user['recent_period'])) + 'URL' => add_url_params(make_index_url(array()), array('filter' => 'start-recent-'.$user['recent_period'])) ) ); } |