Merge pull request #3728 from Crizz0/ticket/13966

[ticket/13966] Adds the missing phpbb_dispatcher to includes/mcp/mcp_…
This commit is contained in:
Marc Alexander 2015-06-26 10:19:58 +02:00
commit 7d7b536874

View file

@ -461,7 +461,7 @@ function mcp_post_details($id, $mode, $action)
*/ */
function change_poster(&$post_info, $userdata) function change_poster(&$post_info, $userdata)
{ {
global $auth, $db, $config, $phpbb_root_path, $phpEx, $user; global $auth, $db, $config, $phpbb_root_path, $phpEx, $user, $phpbb_dispatcher;
if (empty($userdata) || $userdata['user_id'] == $post_info['user_id']) if (empty($userdata) || $userdata['user_id'] == $post_info['user_id'])
{ {