X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fimap_search.php;h=29ad63bbe4e0641484aee3056a27625e03f2656c;hp=5028a810c25d6565b3b3c23b4826edad7d27fd2d;hb=9d6b3b72a34621d96ba77b1d4b3072f1c4e6ab7f;hpb=d6c32258c05219670ab3b4ae2d460d844ea9a247 diff --git a/functions/imap_search.php b/functions/imap_search.php index 5028a810..29ad63bb 100644 --- a/functions/imap_search.php +++ b/functions/imap_search.php @@ -3,13 +3,14 @@ /** * imap_search.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * IMAP search routines * - * $Id$ + * @version $Id$ * @package squirrelmail + * @subpackage imap * @deprecated This search interface has been largely replaced by asearch */ @@ -24,7 +25,7 @@ function sqimap_search($imapConnection, $search_where, $search_what, $mailbox, $color, $search_position = '', $search_all, $count_all) { global $message_highlight_list, $squirrelmail_language, $languages, - $index_order, $pos, $allow_charset_search, $uid_support, + $index_order, $pos, $allow_charset_search, $imap_server_type; $pos = $search_position; @@ -77,7 +78,7 @@ function sqimap_search($imapConnection, $search_where, $search_what, $mailbox, } /* read data back from IMAP */ - $readin = sqimap_run_command($imapConnection, $ss, false, $result, $message, $uid_support); + $readin = sqimap_run_command($imapConnection, $ss, false, $result, $message, TRUE); /* try US-ASCII charset if search fails */ if (isset($languages[$squirrelmail_language]['CHARSET'])