mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
viewlog update for combined log table
git-svn-id: file:///svn/phpbb/trunk@4310 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
971968b08c
commit
2882b8aafb
1 changed files with 3 additions and 2 deletions
|
@ -2401,9 +2401,10 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
|
||||||
$default_key = 't';
|
$default_key = 't';
|
||||||
$default_dir = 'd';
|
$default_dir = 'd';
|
||||||
$sql = 'SELECT COUNT(log_id) AS total
|
$sql = 'SELECT COUNT(log_id) AS total
|
||||||
FROM ' . LOG_MOD_TABLE . "
|
FROM ' . LOG_TABLE . "
|
||||||
$where_sql forum_id IN (" . (($forum_id) ? $forum_id : implode(', ', get_forum_list('m_'))) . ')
|
$where_sql forum_id IN (" . (($forum_id) ? $forum_id : implode(', ', get_forum_list('m_'))) . ')
|
||||||
AND log_time >= ' . $min_time;
|
AND log_time >= ' . $min_time . '
|
||||||
|
AND log_type = ' . LOG_MOD;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue