From cf2aa192e8426667f537f75259a832a3d3f0632a Mon Sep 17 00:00:00 2001 From: tokul Date: Tue, 28 Dec 2004 10:44:01 +0000 Subject: [PATCH] one more place affected by #1085377 bug git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8480 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/filters/filters.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 74729cd8..8261c27c 100644 --- a/plugins/filters/filters.php +++ b/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" -- 2.25.1