Merge branch '3.1.x'

Conflicts:
	phpBB/includes/functions_mcp.php
This commit is contained in:
Joas Schilling 2015-02-26 22:48:52 +01:00
commit 48d208a3a6

View file

@ -369,7 +369,7 @@ function phpbb_get_pm_data($pm_ids)
*/ */
function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql, &$sort_order_sql, &$total, $forum_id = 0, $topic_id = 0, $where_sql = 'WHERE') function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql, &$sort_order_sql, &$total, $forum_id = 0, $topic_id = 0, $where_sql = 'WHERE')
{ {
global $db, $user, $auth, $template, $request; global $db, $user, $auth, $template, $request, $phpbb_dispatcher;
$sort_days = $request->variable('st', 0); $sort_days = $request->variable('st', 0);
$min_time = ($sort_days) ? time() - ($sort_days * 86400) : 0; $min_time = ($sort_days) ? time() - ($sort_days * 86400) : 0;