remove calls to removed htmlspecialchars method

This commit is contained in:
Ralf Becker 2014-09-30 12:37:07 +00:00
parent 3b2619719c
commit 932c78bc6d

View File

@ -1969,7 +1969,7 @@ class mail_compose
//_debug_array($bodyParts); //_debug_array($bodyParts);
$styles = mail_bo::getStyles($bodyParts); $styles = mail_bo::getStyles($bodyParts);
$fromAddress = mail_bo::htmlspecialchars(implode(', ', str_replace(array('<','>'),array('[',']'),$headers['FROM']))); $fromAddress = implode(', ', str_replace(array('<','>'),array('[',']'),$headers['FROM']));
$toAddressA = array(); $toAddressA = array();
$toAddress = ''; $toAddress = '';
@ -1978,7 +1978,7 @@ class mail_compose
} }
if (count($toAddressA)>0) if (count($toAddressA)>0)
{ {
$toAddress = mail_bo::htmlspecialchars(implode(', ', str_replace(array('<','>'),array('[',']'),$toAddressA))); $toAddress = implode(', ', str_replace(array('<','>'),array('[',']'),$toAddressA));
$toAddress = @htmlspecialchars(lang("to")).": ".$toAddress.($bodyParts['0']['mimeType'] == 'text/html'?"<br>":"\r\n"); $toAddress = @htmlspecialchars(lang("to")).": ".$toAddress.($bodyParts['0']['mimeType'] == 'text/html'?"<br>":"\r\n");
} }
$ccAddressA = array(); $ccAddressA = array();
@ -1988,7 +1988,7 @@ class mail_compose
} }
if (count($ccAddressA)>0) if (count($ccAddressA)>0)
{ {
$ccAddress = mail_bo::htmlspecialchars(implode(', ', str_replace(array('<','>'),array('[',']'),$ccAddressA))); $ccAddress = implode(', ', str_replace(array('<','>'),array('[',']'),$ccAddressA));
$ccAddress = @htmlspecialchars(lang("cc")).": ".$ccAddress.($bodyParts['0']['mimeType'] == 'text/html'?"<br>":"\r\n"); $ccAddress = @htmlspecialchars(lang("cc")).": ".$ccAddress.($bodyParts['0']['mimeType'] == 'text/html'?"<br>":"\r\n");
} }
if($bodyParts['0']['mimeType'] == 'text/html') { if($bodyParts['0']['mimeType'] == 'text/html') {