mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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']))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user