Bläddra i källkod

$msgi+1 doesn't work when using anything but the system's default sort.
And maybe not even then. This makes it so you don't select message 134 and
end up deleting message 1 just because it happens to be first on the list.

uid77282 23 år sedan
förälder
incheckning
cd9d641e7f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      functions/imap_messages.php

+ 1 - 1
functions/imap_messages.php

@@ -605,7 +605,7 @@ function sqimap_get_small_header_list ($imap_stream, $msg_list, $issent) {
         if ($uid_support) {
     	    $header->uid = $unique_id;
         } else {
-    	    $header->uid = $msgi +1;
+            $header->uid = $msg_list[$msgi];
 	}	
         $header->date = $date;
         $header->subject = $subject;