From c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d Mon Sep 17 00:00:00 2001 From: brunoais Date: Wed, 25 Feb 2015 23:28:42 +0000 Subject: [PATCH] [ticket/13652] Added $phpbb_dispatcher from global to phpbb_mcp_sorting() PHPBB3-13652 --- phpBB/includes/functions_mcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_mcp.php b/phpBB/includes/functions_mcp.php index 4a03ea8f13..eb4fc6d44b 100644 --- a/phpBB/includes/functions_mcp.php +++ b/phpBB/includes/functions_mcp.php @@ -368,7 +368,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') { - global $db, $user, $auth, $template; + global $db, $user, $auth, $template, $phpbb_dispatcher; $sort_days = request_var('st', 0); $min_time = ($sort_days) ? time() - ($sort_days * 86400) : 0;