Browse Source

Tylerization

philippe_mingo 23 years ago
parent
commit
e8cc3b2b13
1 changed files with 6 additions and 0 deletions
  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,