From 6649b1f0a5db6160d197a13ca79cfd67fbb02d77 Mon Sep 17 00:00:00 2001
From: svncommit <devs@roundcube.net>
Date: Sat, 23 Sep 2006 19:37:29 -0400
Subject: [PATCH] added TinyMCE spellchecker plugin, configured to use GoogleSpell

---
 program/lib/imap.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index b2e1d43..caa1d27 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -1887,7 +1887,7 @@
                 $remaining = $bytes - $received;
                 $line = iil_ReadLine($fp, 1024);
                 $len = strlen($line);
-                if ($len > $remaining) substr($line, 0, $remaining);
+                if ($len > $remaining) $line = substr($line, 0, $remaining);
                 $received += strlen($line);
                 if ($mode==1) $result .= chop($line)."\n";
                 else if ($mode==2){ echo chop($line)."\n"; flush(); }

--
Gitblit v1.9.1