mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Fix time limiting in mcp [#4730]
git-svn-id: file:///svn/phpbb/trunk@6498 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4afaca12dc
commit
ca19477a97
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
|
||||||
{
|
{
|
||||||
global $db, $user, $auth, $template;
|
global $db, $user, $auth, $template;
|
||||||
|
|
||||||
$sort_days = request_var('sort_days', 0);
|
$sort_days = request_var('st', 0);
|
||||||
$min_time = ($sort_days) ? time() - ($sort_days * 86400) : 0;
|
$min_time = ($sort_days) ? time() - ($sort_days * 86400) : 0;
|
||||||
|
|
||||||
switch ($mode)
|
switch ($mode)
|
||||||
|
|
Loading…
Add table
Reference in a new issue