From 3e8d8975a9a2988aaa8413dc440617c01c404c5a Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 19 May 2009 11:44:21 +0000 Subject: - don't use 4th argument in htmlspecialchars (#1485475) --- program/steps/mail/compose.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 2cd603005..f167053de 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -557,12 +557,12 @@ function rcmail_create_forward_body($body, $bodyIsHtml) "To: %s", Q($MESSAGE->subject), Q($MESSAGE->headers->date), - htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true), - htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); + htmlspecialchars(Q($MESSAGE->get_header('from'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset()), + htmlspecialchars(Q($MESSAGE->get_header('to'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset())); if ($MESSAGE->headers->replyto && $MESSAGE->headers->replyto != $MESSAGE->headers->from) $prefix .= sprintf("Reply-To: %s", - htmlspecialchars(Q($MESSAGE->get_header('replyto'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset(), true)); + htmlspecialchars(Q($MESSAGE->get_header('replyto'), 'replace'), ENT_COMPAT, $OUTPUT->get_charset())); $prefix .= "
"; } -- cgit v1.2.3