extra quote removed
[squirrelmail.git] / functions / imap_search.php
index 5028a810c25d6565b3b3c23b4826edad7d27fd2d..29ad63bbe4e0641484aee3056a27625e03f2656c 100644 (file)
@@ -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'])