diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2015-02-26 22:47:51 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2015-02-26 22:47:51 +0100 |
| commit | 4928afedc642593e6529f4056ca07e27f57ac99b (patch) | |
| tree | 75a765699568f1716a0acef3e646a32b3146fb4e | |
| parent | ea4b9935166b9c75521d09c0838a1fb97beda214 (diff) | |
| parent | c8be24fd5ed36af2f3faf6bccb870cfa81b8ad5d (diff) | |
| download | forums-4928afedc642593e6529f4056ca07e27f57ac99b.tar forums-4928afedc642593e6529f4056ca07e27f57ac99b.tar.gz forums-4928afedc642593e6529f4056ca07e27f57ac99b.tar.bz2 forums-4928afedc642593e6529f4056ca07e27f57ac99b.tar.xz forums-4928afedc642593e6529f4056ca07e27f57ac99b.zip | |
Merge pull request #3447 from brunoais/ticket/13143
[ticket/13652] Added $phpbb_dispatcher from global to phpbb_mcp_sorting()
| -rw-r--r-- | phpBB/includes/functions_mcp.php | 2 |
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; |
