Fixed: Missing information "recent" in URL filter start parameter

git-svn-id: http://piwigo.org/svn/trunk@1723 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-01-15 22:28:15 +00:00
parent 9362801a48
commit 6ea1ec6c86
2 changed files with 2 additions and 2 deletions

View File

@@ -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
{

View File

@@ -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']))
)
);
}