Explorar el Código

Fix variable typo in parseFetch which caused IMAP errors with Exchange.
Thanks Christian Froemmel from Charite.

Thijs Kinkhorst hace 20 años
padre
commit
7d6145a7f4
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 0
      ChangeLog
  2. 2 2
      functions/imap_messages.php

+ 2 - 0
ChangeLog

@@ -378,6 +378,8 @@ Version 1.5.1 -- CVS
     configuration' subsection.
   - Javascript relied on rg=1 in the login page to force focus to
     password box if username was supplied as a url arg (#1222617).
+  - Fix variable typo in parseFetch which caused IMAP errors on Exchange.
+    Thanks Christian Froemmel.
 
 Version 1.5.0 - 2 February 2004
 -------------------------------

+ 2 - 2
functions/imap_messages.php

@@ -798,7 +798,7 @@ function parseFetch($aResponse,$aMessageList = array()) {
             }
         }
         $msgi ="$unique_id";
-        $msg['UID'] = $unique_id;
+        $aMsg['UID'] = $unique_id;
         $aMessageList[$msgi] = $aMsg;
     }
     return $aMessageList;
@@ -962,4 +962,4 @@ function sqimap_get_message($imap_stream, $id, $mailbox) {
     return $msg;
 }
 
-?>
+?>