mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
by the power of math!
git-svn-id: file:///svn/phpbb/trunk@6700 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
fbe0c22293
commit
7a79c74288
1 changed files with 1 additions and 1 deletions
|
@ -1406,7 +1406,7 @@ function mail_encode($str)
|
|||
{
|
||||
$text = '';
|
||||
|
||||
while (sizeof($array) && strlen(base64_encode($text . $array[0])) <= $split_length)
|
||||
while (sizeof($array) && intval((strlen($text . $array[0]) + 2) / 3) << 2 <= $split_length)
|
||||
{
|
||||
$text .= array_shift($array);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue