浏览代码

Fix typo, thanks to Scott A. Hughes.

Thijs Kinkhorst 23 年之前
父节点
当前提交
9380bf6b72
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

@@ -491,7 +491,7 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list) {
             while ($prevline && strspn($read_part, "\t ") > 0) {
             while ($prevline && strspn($read_part, "\t ") > 0) {
                $read_part = substr($prevline, 0, -2) . ' ' . ltrim($read_part);
                $read_part = substr($prevline, 0, -2) . ' ' . ltrim($read_part);
             }
             }
-            $prev_line = $read_part;
+            $prevline = $read_part;
             if ($read_part{0} == '*') {
             if ($read_part{0} == '*') {
                 if ($internaldate) {
                 if ($internaldate) {
                     if (preg_match ("/^.+INTERNALDATE\s+\"(.+)\".+/iUA",$read_part, $reg)) {
                     if (preg_match ("/^.+INTERNALDATE\s+\"(.+)\".+/iUA",$read_part, $reg)) {