summaryrefslogtreecommitdiff
path: root/program/include/rcube_smtp.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
committeralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
commit23a2eec4d540b5f971ed6377e7ad776456ee0633 (patch)
tree34081a5830cb6c2c843dbf3b873bf2643400c134 /program/include/rcube_smtp.inc
parentdb5abc6c211d78ad80b716ddef11eabe5e32f137 (diff)
- ereg -> preg
Diffstat (limited to 'program/include/rcube_smtp.inc')
-rw-r--r--program/include/rcube_smtp.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_smtp.inc b/program/include/rcube_smtp.inc
index 692106d9b..ad6a6e0af 100644
--- a/program/include/rcube_smtp.inc
+++ b/program/include/rcube_smtp.inc
@@ -337,7 +337,7 @@ function smtp_parse_rfc822($recipients)
{
if ((strpos($word, "@") > 0) && (strpos($word, "\"")===false))
{
- $word = ereg_replace('^<|>$', '', trim($word));
+ $word = preg_replace('/^<|>$/', '', trim($word));
if (in_array($word, $addresses)===false)
array_push($addresses, $word);
}