phpBB

Code Changes

File: phpbb/message/message.php

  Unmodified   Added   Modified   Removed
Line 262Line 262
				$messenger->headers('X-AntiAbuse: Username - ' . $this->sender_username);
}


				$messenger->headers('X-AntiAbuse: Username - ' . $this->sender_username);
}


			$messenger->subject(htmlspecialchars_decode($this->subject));

			$messenger->subject(html_entity_decode($this->subject, ENT_COMPAT));


$messenger->assign_vars(array(
'BOARD_CONTACT' => $contact,


$messenger->assign_vars(array(
'BOARD_CONTACT' => $contact,

				'TO_USERNAME'	=> htmlspecialchars_decode($recipient['to_name']),
'FROM_USERNAME' => htmlspecialchars_decode($this->sender_name),
'MESSAGE' => htmlspecialchars_decode($this->body))

				'TO_USERNAME'	=> html_entity_decode($recipient['to_name'], ENT_COMPAT),
'FROM_USERNAME' => html_entity_decode($this->sender_name, ENT_COMPAT),
'MESSAGE' => html_entity_decode($this->body, ENT_COMPAT))

			);

if (count($this->template_vars))

			);

if (count($this->template_vars))