From ae119b9de765646b827b9b6fa29cb4eae7b17f46 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 12 Sep 2009 13:39:24 +0000 Subject: - fixed comment, default searching by subject only --- program/steps/mail/search.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index d62b128d3..9f054f938 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -67,7 +67,6 @@ else if (preg_match("/^body:.*/i", $str)) list(,$srch) = explode(":", $str); $subject['text'] = "TEXT"; } -// search in subject and sender by default else if(trim($str)) { if ($headers) { @@ -78,6 +77,7 @@ else if(trim($str)) default: $subject[$header] = 'HEADER '.$header; } } else { + // search in subject by default $subject['subject'] = 'HEADER SUBJECT'; } } -- cgit v1.2.3