mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12800] Missing $phpbb_dispatcher as a global
PHPBB3-12800
This commit is contained in:
parent
4127acb19b
commit
49a1d845fe
1 changed files with 2 additions and 1 deletions
|
@ -1063,7 +1063,8 @@ function display_reasons($reason_id = 0)
|
||||||
function display_user_activity(&$userdata)
|
function display_user_activity(&$userdata)
|
||||||
{
|
{
|
||||||
global $auth, $template, $db, $user;
|
global $auth, $template, $db, $user;
|
||||||
global $phpbb_root_path, $phpEx, $phpbb_container;
|
global $phpbb_root_path, $phpEx;
|
||||||
|
global $phpbb_container, $phpbb_dispatcher;
|
||||||
|
|
||||||
// Do not display user activity for users having more than 5000 posts...
|
// Do not display user activity for users having more than 5000 posts...
|
||||||
if ($userdata['user_posts'] > 5000)
|
if ($userdata['user_posts'] > 5000)
|
||||||
|
|
Loading…
Add table
Reference in a new issue