Browse Source

Tylerization

philippe_mingo 23 năm trước cách đây
mục cha
commit
e8cc3b2b13
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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,