mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
remove calls to removed htmlspecialchars method
This commit is contained in:
parent
3b2619719c
commit
932c78bc6d
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user