瀏覽代碼

Tylerization

philippe_mingo 23 年之前
父節點
當前提交
e8cc3b2b13
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      functions/imap_search.php

+ 6 - 0
functions/imap_search.php

@@ -174,6 +174,12 @@ function sqimap_search($imapConnection,$search_where,$search_what,$mailbox,$colo
             $msg = ''; 
         }
         if ($search_all != 'all') {
+	    if ( !isset( $start_msg ) ) {
+	        $start_msg =0;
+	    }
+	    if ( !isset( $sort ) ) {
+                $sort = 0;
+	    }
             mail_message_listing_beginning( $imapConnection,
                 "move_messages.php?msg=$msg&mailbox=$urlMailbox&pos=$pos&where=" . urlencode($search_where) . "&what=".urlencode($search_what),
             $mailbox,