From 0cb9677bef29d1cf80fbdb9564824c4d16f87e56 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 27 Nov 2008 10:08:16 +0000 Subject: #1485581: not use parenthesis when searching with 2 search keys --- program/steps/mail/search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index 0fc56bcf0..b7ab2e182 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -79,7 +79,7 @@ if ($subject && !is_array($subject)) else if ($subject) { $search_str .= ' OR'; foreach($subject as $sub) - $search_str .= sprintf(" (%s {%d}\r\n%s)", $sub, strlen($search), $search); + $search_str .= sprintf(" %s {%d}\r\n%s", $sub, strlen($search), $search); } $search_str = trim($search_str); -- cgit v1.2.3