|
|
|
@ -38,7 +38,6 @@ function inc_facteur_mail_wrap_to_html_dist($texte_ou_html) {
|
|
|
|
|
and stripos($texte_ou_html, '</body>') !== false |
|
|
|
|
) { |
|
|
|
|
// dans ce cas on ruse un peu : extraire le sujet du title |
|
|
|
|
$sujet = ''; |
|
|
|
|
if (preg_match(',<title>(.*)</title>,Uims', $texte_ou_html, $m)) { |
|
|
|
|
$contexte['sujet'] = $m[1]; |
|
|
|
|
$texte_ou_html = preg_replace(',<title>(.*)</title>,Uims', '', $texte_ou_html, 1); |
|
|
|
|