mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 14:08:40 +00:00
autofixes
This commit is contained in:
parent
2c9d8fe6aa
commit
c003aae57f
|
|
@ -1114,7 +1114,7 @@ class Mail
|
||||||
$matches += \preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $value, $matched);
|
$matches += \preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $value, $matched);
|
||||||
}
|
}
|
||||||
|
|
||||||
$charset = ((bool) preg_match('/[\x80-\xFF]/', $value)) ? $this->charset : CharsetType::ASCII;
|
$charset = ((bool) \preg_match('/[\x80-\xFF]/', $value)) ? $this->charset : CharsetType::ASCII;
|
||||||
$overhead = \strlen($charset) + 8;
|
$overhead = \strlen($charset) + 8;
|
||||||
$maxlength = $this->submitType === SubmitType::MAIL ? 63 - $overhead : 998 - $overhead;
|
$maxlength = $this->submitType === SubmitType::MAIL ? 63 - $overhead : 998 - $overhead;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user