mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
encode_subject(): remove unnecessary CR's as some mail-scanners complain about them
This commit is contained in:
parent
69610bfc29
commit
dbc66bcf00
@ -164,6 +164,9 @@
|
|||||||
*/
|
*/
|
||||||
function encode_subject($subject)
|
function encode_subject($subject)
|
||||||
{
|
{
|
||||||
|
// remove unnecessary CR's as some mail-scanners complain about them
|
||||||
|
$subject = str_replace("\r",'',$subject);
|
||||||
|
|
||||||
$enc_start = $enc_end = 0;
|
$enc_start = $enc_end = 0;
|
||||||
|
|
||||||
$words = explode(' ',$subject);
|
$words = explode(' ',$subject);
|
||||||
|
Loading…
Reference in New Issue
Block a user