aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-01-15 22:28:15 +0000
committerrub <rub@piwigo.org>2007-01-15 22:28:15 +0000
commit6ea1ec6c86ebfe61d15aa6198e19d25501b0f5ff (patch)
tree5cc30c22b157825aab70877929030fced9f77a61 /include
parent9362801a48c6e88fcc9bd56e69ba044f718c6b74 (diff)
Fixed: Missing information "recent" in URL filter start parameter
git-svn-id: http://piwigo.org/svn/trunk@1723 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/filter.inc.php2
-rw-r--r--include/menubar.inc.php2
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']))
)
);
}