summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-12 11:19:27 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-12 11:19:27 +0200
commitd41367492dbbd7fdb074cd1374044917fc2e82df (patch)
treeea3d9b4c8e5b528849b3508818b363d6ce9f299b /program/lib
parentd9d276ea700186a11c6525fec375160a76229b76 (diff)
Fix flowed lines recognition
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_text2html.php2
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);
}