diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-12 11:19:27 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-12 11:19:27 +0200 |
commit | d41367492dbbd7fdb074cd1374044917fc2e82df (patch) | |
tree | ea3d9b4c8e5b528849b3508818b363d6ce9f299b /program/lib | |
parent | d9d276ea700186a11c6525fec375160a76229b76 (diff) |
Fix flowed lines recognition
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/Roundcube/rcube_text2html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_text2html.php b/program/lib/Roundcube/rcube_text2html.php index 6032726b0..9ca3f960f 100644 --- a/program/lib/Roundcube/rcube_text2html.php +++ b/program/lib/Roundcube/rcube_text2html.php @@ -163,7 +163,7 @@ class rcube_text2html // find/mark quoted lines... for ($n=0, $cnt=count($text); $n < $cnt; $n++) { $flowed = false; - if ($this->config['flowed'] && ord($text[0]) == $flowed_char) { + if ($this->config['flowed'] && ord($text[$n][0]) == $flowed_char) { $flowed = true; $text[$n] = substr($text[$n], 1); } |