Browse Source

Fixed warnings. (time for reviewing my php.ini and find out why those
warnings were not displayed on my screen)

stekkel 21 năm trước cách đây
mục cha
commit
37cc752545
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      functions/mailbox_display.php
  2. 1 1
      src/read_body.php

+ 1 - 1
functions/mailbox_display.php

@@ -1138,7 +1138,7 @@ function mail_message_listing_beginning ($imapConnection,
                                          $paginator = ' '
                                         ) {
     global $color, $show_flag_buttons, $PHP_SELF;
-    global $lastTargetMailbox;
+    global $lastTargetMailbox, $boxes;
 
     $php_self = $PHP_SELF;
 

+ 1 - 1
src/read_body.php

@@ -858,7 +858,7 @@ if (isset($sendreceipt)) {
       if ( SendMDN( $mailbox, $passed_id, $final_recipient, $message, $imapConnection ) > 0 && $supportMDN ) {
          ToggleMDNflag( true, $imapConnection, $mailbox, $passed_id);
          $message->is_mdnsent = true;
-         $messages[$uidvalidity][$passed_id]=$message;
+         $aMailbox['MSG_HEADERS'][$passed_id]['MESSAGE_OBJECT'] = $message;
       }
       ClearAttachments();
    }