mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 15:16:16 +02:00
Merge branch '3.1.x'
Conflicts: phpBB/includes/mcp/mcp_post.php
This commit is contained in:
commit
9e117a9eeb
@ -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, $phpbb_log;
|
global $auth, $db, $config, $phpbb_root_path, $phpEx, $user, $phpbb_log, $phpbb_dispatcher;
|
||||||
|
|
||||||
if (empty($userdata) || $userdata['user_id'] == $post_info['user_id'])
|
if (empty($userdata) || $userdata['user_id'] == $post_info['user_id'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user