phpBB

Code Changes

File: includes/acp/acp_email.php

  Unmodified   Added   Modified   Removed
Line 205Line 205
				$email_template = 'admin_send_email';
$template_data = array(
'CONTACT_EMAIL' => phpbb_get_board_contact($config, $phpEx),

				$email_template = 'admin_send_email';
$template_data = array(
'CONTACT_EMAIL' => phpbb_get_board_contact($config, $phpEx),

					'MESSAGE'		=> htmlspecialchars_decode($message),

					'MESSAGE'		=> html_entity_decode($message, ENT_COMPAT),

				);
$generate_log_entry = true;


				);
$generate_log_entry = true;


Line 252Line 252

$messenger->anti_abuse_headers($config, $user);



$messenger->anti_abuse_headers($config, $user);


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

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

					$messenger->set_mail_priority($priority);

$messenger->assign_vars($template_data);

					$messenger->set_mail_priority($priority);

$messenger->assign_vars($template_data);