Selaa lähdekoodia

Reset $msg on each iteration, otherwise a message with eg no subject
will take the subject from the previous message.

Thijs Kinkhorst 21 vuotta sitten
vanhempi
commit
ac61dd81d2
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      functions/imap_messages.php

+ 1 - 0
functions/imap_messages.php

@@ -574,6 +574,7 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $show_num=false,
     $i = 0;
     $i = 0;
 
 
     foreach ($read_list as $r) {
     foreach ($read_list as $r) {
+        $msg = array();
         // use unset because we do isset below
         // use unset because we do isset below
         $read = implode('',$r);
         $read = implode('',$r);