Procházet zdrojové kódy

I neglected to make these two values globals.

Tyler Akins před 24 roky
rodič
revize
835d02c8ec
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      src/read_body.php

+ 2 - 1
src/read_body.php

@@ -114,7 +114,8 @@
    
    // returns the index of the previous message from the array
    function findPreviousMessage() {
-      global $msort, $currentArrayIndex, $sort, $msgs, $imapConnection, $mailbox;
+      global $msort, $currentArrayIndex, $sort, $msgs, $imapConnection, 
+         $mailbox, $data_dir, $username;
       if ($sort == 6) {
          $numMessages = sqimap_get_num_messages($imapConnection, $mailbox);
          if ($currentArrayIndex != $numMessages) {