mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 08:10:12 +01:00
Fixed EOL usage in model mail
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
6064659c7d
commit
b547a08208
@ -121,7 +121,7 @@ class ModelMailMail extends Model {
|
||||
$s = strstr($hdr, "Subject:");
|
||||
if($s) {
|
||||
$l1 = strlen($s);
|
||||
$l2 = strlen(strstr($s, "\n"));
|
||||
$l2 = strlen(strstr($s, EOL));
|
||||
if($l1 > $l2 + 10) {
|
||||
$subject = substr($s, 0, $l1 - $l2) . EOL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user