phpBB

Code Changes

File: includes/mcp/mcp_warn.php

  Unmodified   Added   Modified   Removed
Line 28Line 28
	var $p_master;
var $u_action;


	var $p_master;
var $u_action;


	function __construct(&$p_master)

	function __construct($p_master)

	{

	{

		$this->p_master = &$p_master;

		$this->p_master = $p_master;

	}

function main($id, $mode)

	}

function main($id, $mode)

Line 572Line 572
		submit_pm('post', $warn_pm_subject, $pm_data, false);
}


		submit_pm('post', $warn_pm_subject, $pm_data, false);
}


	$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_USER_WARNING', false, array($user_row['username']));
$log_id = $phpbb_log->add('user', $user->data['user_id'], $user->ip, 'LOG_USER_WARNING_BODY', false, array(


	$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_USER_WARNING', false, [$user_row['username']]);

$log_id = $phpbb_log->add('user', $user->data['user_id'], $user->ip, 'LOG_USER_WARNING_BODY', false, [

		'reportee_id' => $user_row['user_id'],

		'reportee_id' => $user_row['user_id'],

		$warning
));

		utf8_encode_ucr($warning)
]);


$sql_ary = array(
'user_id' => $user_row['user_id'],


$sql_ary = array(
'user_id' => $user_row['user_id'],