Browse Source

one more place affected by #1085377 bug

tokul 20 years ago
parent
commit
7d528d3fff
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/filters/filters.php

+ 2 - 1
plugins/filters/filters.php

@@ -231,7 +231,8 @@ function filter_search_and_delete($imap_stream, $where, $what, $where_to, $user_
         $what  = addslashes(trim($what[1]));
     }
 
-    if ($imap_server_type == 'macosx') {
+    // see comments in squirrelmail sqimap_search function
+    if ($imap_server_type == 'macosx' || $imap_server_type == 'hmailserver') {
         $search_str .= ' ' . $where . ' ' . $what;
     } else {
         $search_str .= ' ' . $where . ' {' . strlen($what) . "}\r\n"