summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-01-07 10:36:24 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-01-07 10:36:24 +0000
commit83e4810418d2a5c69251f0d79a5bef481336a244 (patch)
tree04228b990a8b4dfd8a4fbc06742abe65f51daa80
parentb0d8edcf2507b42c33e7018d80c5061fddab4dd8 (diff)
- fix searching with 'to:' modifier (typo)
git-svn-id: https://svn.roundcube.net/trunk@2220 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/search.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/search.inc b/roundcubemail/program/steps/mail/search.inc
index aa76f8e43..4626b85f2 100644
--- a/roundcubemail/program/steps/mail/search.inc
+++ b/roundcubemail/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";