diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-03 08:24:26 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-03 08:24:26 +0200 |
commit | 2ce01932fef0abfc6d76dc134024c879a72f9cb7 (patch) | |
tree | a9fb202dbb89ee647d648aa3528712750382b57b /program | |
parent | cdb53ccb6a15e54ef5c23c134fd346040ec052bf (diff) |
Fix another text wrap issue (added test case)
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/Roundcube/rcube_mime.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_mime.php b/program/lib/Roundcube/rcube_mime.php index 0a4bfbddb..53724cbba 100644 --- a/program/lib/Roundcube/rcube_mime.php +++ b/program/lib/Roundcube/rcube_mime.php @@ -659,8 +659,8 @@ class rcube_mime $cutLength = $spacePos + 1; } else { - $subString = $string; - $cutLength = null; + $subString = $substr_func($string, 0, $breakPos, $charset); + $cutLength = $breakPos + 1; } } else { |