Browse Source

"Jason Munro" <jason@stdbev.com>

I missed a spot on the "multiple search terms" change.
philippe_mingo 23 years ago
parent
commit
e2b9d55341
1 changed files with 2 additions and 1 deletions
  1. 2 1
      functions/imap_search.php

+ 2 - 1
functions/imap_search.php

@@ -57,7 +57,8 @@ function sqimap_search($imapConnection,$search_where,$search_what,$mailbox,$colo
     /* Read Data Back From IMAP */
     $readin = sqimap_run_command ($imapConnection, $ss, true, $result, $message);
     if (isset($languages[$squirrelmail_language]['CHARSET']) && strtolower($result) == 'no') {
-        $ss = "SEARCH CHARSET \"US-ASCII\" ALL $search_where \"$search_what\"";
+        // $ss = "SEARCH CHARSET \"US-ASCII\" ALL $search_where \"$search_what\"";
+        $ss = "SEARCH CHARSET \"US-ASCII\" ALL $search_string";
         $readin = sqimap_run_command ($imapConnection, $ss, true, $result, $message);
     }