mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +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:
1 parent
9362801a48
commit
6ea1ec6c86
2 files changed
+2
-2
No files matched your search
@@ -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