From 75b2947bc9b002c7aab1bbacb2b6a6e2ff851f58 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Wed, 6 Feb 2002 11:10:56 +0000 Subject: [PATCH] Tylerization git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2373 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_search.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions/imap_search.php b/functions/imap_search.php index ba69165a..9ae1323a 100644 --- a/functions/imap_search.php +++ b/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, -- 2.25.1