summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-12 13:39:24 +0000
committeralecpl <alec@alec.pl>2009-09-12 13:39:24 +0000
commitae119b9de765646b827b9b6fa29cb4eae7b17f46 (patch)
treed373c2699b86a8beeb408397af999167179fe760 /program/steps/mail/search.inc
parent59395e7e36995ea8a39a09136ab29961e97fd2fc (diff)
- fixed comment, default searching by subject only
Diffstat (limited to 'program/steps/mail/search.inc')
-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 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';
}
}