phpBB

Code Changes

File: phpbb/notification/type/report_pm.php

  Unmodified   Added   Modified   Removed
Line 142Line 142
	*/
public function get_email_template_variables()
{

	*/
public function get_email_template_variables()
{

		$user_data = $this->user_loader->get_user($this->get_data('reporter_id'));

		$user_data = $this->user_loader->get_user($this->get_data('from_user_id'));


return array(
'AUTHOR_NAME' => htmlspecialchars_decode($user_data['username']),
'SUBJECT' => htmlspecialchars_decode(censor_text($this->get_data('message_subject'))),



return array(
'AUTHOR_NAME' => htmlspecialchars_decode($user_data['username']),
'SUBJECT' => htmlspecialchars_decode(censor_text($this->get_data('message_subject'))),


			'U_VIEW_REPORT'	=> generate_board_url() . "mcp.{$this->php_ext}?r={$this->item_parent_id}&i=pm_reports&mode=pm_report_details",




			/** @deprecated	3.2.6-RC1	(to be removed in 4.0.0) use {SUBJECT} instead in report_pm.txt */
'TOPIC_TITLE' => htmlspecialchars_decode(censor_text($this->get_data('message_subject'))),

'U_VIEW_REPORT' => generate_board_url() . "/mcp.{$this->php_ext}?r={$this->item_parent_id}&i=pm_reports&mode=pm_report_details",

		);
}


		);
}


Line 236Line 239
	*/
public function users_to_query()
{

	*/
public function users_to_query()
{

		return array($this->get_data('reporter_id'));
}



		return array(
$this->get_data('from_user_id'),
$this->get_data('reporter_id'),
); }


/**
* {@inheritdoc}


/**
* {@inheritdoc}