summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-11-27 10:08:16 +0000
committeralecpl <alec@alec.pl>2008-11-27 10:08:16 +0000
commit0cb9677bef29d1cf80fbdb9564824c4d16f87e56 (patch)
treed6abd7942eb674654406e727b7c92ace4dd85c29 /program/steps
parentdebdda011717e63945a0f6a9db6ab77b30a47079 (diff)
#1485581: not use parenthesis when searching with 2 search keys
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/search.inc2
1 files changed, 1 insertions, 1 deletions
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);