瀏覽代碼

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

stekkel 21 年之前
父節點
當前提交
37cc752545
共有 2 個文件被更改,包括 2 次插入2 次删除
  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();
    }