summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
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';
}
}