mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix missing trim while splitting content
This commit is contained in:
parent
d321a3e1c9
commit
270555d982
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ class SMS
|
|||
$char_length = strlen(@iconv('UTF-8', $charset . '//IGNORE', $char));
|
||||
if (($current_length + $char_length > $max_length) || ($current_length + $char_length > $max_length - 7 && ctype_space($char)))
|
||||
{
|
||||
$result[] = $current_entry;
|
||||
$result[] = trim($current_entry);
|
||||
$current_entry = $char;
|
||||
$current_length = $char_length;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue