diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/rcube_imap_generic.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php index f286ec6bd..a664c5b57 100644 --- a/program/include/rcube_imap_generic.php +++ b/program/include/rcube_imap_generic.php @@ -2079,9 +2079,10 @@ class rcube_imap_generic $result[$id]->subject = ''; $result[$id]->messageID = 'mid:' . $id; - $lines = array(); - $line = substr($line, strlen($m[0]) + 2); - $ln = 0; + $headers = null; + $lines = array(); + $line = substr($line, strlen($m[0]) + 2); + $ln = 0; // get complete entry while (preg_match('/\{([0-9]+)\}\r\n$/', $line, $m)) { |