summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-01-07 10:36:24 +0000
committeralecpl <alec@alec.pl>2009-01-07 10:36:24 +0000
commit1af6fe235dfab37a93bb9f0d581a4fefa0157a9c (patch)
treecf7a669b9160067838487b45e2507466927b00c0
parent1b1ff0a4480a4fd7f6a725ef31cf86438ec45f78 (diff)
- fix searching with 'to:' modifier (typo)
-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";