summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 aa76f8e43..4626b85f2 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -42,7 +42,7 @@ if (preg_match("/^from:.*/i", $str))
$subject = "HEADER FROM";
$search = trim($srch);
}
-else if (preg_match("/^to.*:/i", $str))
+else if (preg_match("/^to:.*/i", $str))
{
list(,$srch) = explode(":", $str);
$subject = "HEADER TO";