aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_mcp.php
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2015-02-25 23:28:42 +0000
committerbrunoais <brunoaiss@gmail.com>2015-02-25 23:28:42 +0000
commitc8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d (patch)
treea84497a618911458d8a94af79133d6844250935d /phpBB/includes/functions_mcp.php
parent3ac583271f9d2557a1a89ab90e40f9baf6ed8b6d (diff)
downloadforums-c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d.tar
forums-c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d.tar.gz
forums-c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d.tar.bz2
forums-c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d.tar.xz
forums-c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d.zip
[ticket/13652] Added $phpbb_dispatcher from global to phpbb_mcp_sorting()
PHPBB3-13652
Diffstat (limited to 'phpBB/includes/functions_mcp.php')
-rw-r--r--phpBB/includes/functions_mcp.php2
1 files changed, 1 insertions, 1 deletions
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;