phpBB

Code Changes

File: phpbb/notification/type/report_pm.php

  Unmodified   Added   Modified   Removed
Line 52Line 52
	*
* @var string Permission name
*/

	*
* @var string Permission name
*/

	protected $permission = 'm_report';

	protected $permission = 'm_pm_report';


/**
* Notification option data (for outputting to the user)


/**
* Notification option data (for outputting to the user)

Line 141Line 141
	*/
public function get_email_template_variables()
{

	*/
public function get_email_template_variables()
{

 
		$user_data = $this->user_loader->get_user($this->get_data('reporter_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'))),