phpBB

Code Changes

File: phpbb/notification/type/report_pm_closed.php

  Unmodified   Added   Modified   Removed
Line 104Line 104
		$closer_username = $this->user_loader->get_username($this->get_data('closer_id'), 'username');

return [

		$closer_username = $this->user_loader->get_username($this->get_data('closer_id'), 'username');

return [

			'AUTHOR_NAME'	=> htmlspecialchars_decode($sender_username, ENT_COMPAT),
'CLOSER_NAME' => htmlspecialchars_decode($closer_username, ENT_COMPAT),
'SUBJECT' => htmlspecialchars_decode(censor_text($this->get_data('message_subject')), ENT_COMPAT),

			'AUTHOR_NAME'	=> html_entity_decode($sender_username, ENT_COMPAT),
'CLOSER_NAME' => html_entity_decode($closer_username, ENT_COMPAT),
'SUBJECT' => html_entity_decode(censor_text($this->get_data('message_subject')), ENT_COMPAT),


'U_VIEW_MESSAGE'=> generate_board_url() . "/ucp.{$this->php_ext}?i=pm&mode=view&p={$this->item_id}",
];


'U_VIEW_MESSAGE'=> generate_board_url() . "/ucp.{$this->php_ext}?i=pm&mode=view&p={$this->item_id}",
];