From 4b7f9e7005c4562f8b4b554ea5ea53fb1ebf804a Mon Sep 17 00:00:00 2001 From: Tom N Harris Date: Thu, 28 May 2009 23:54:38 +0200 Subject: Change expensive uses of split to the much faster explode. darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz --- inc/mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/mail.php') diff --git a/inc/mail.php b/inc/mail.php index f127ea989..61d938cf8 100644 --- a/inc/mail.php +++ b/inc/mail.php @@ -125,7 +125,7 @@ function _mail_send_action($data) { */ function mail_encode_address($string,$header='',$names=true){ $headers = ''; - $parts = split(',',$string); + $parts = explode(',',$string); foreach ($parts as $part){ $part = trim($part); -- cgit v1.2.3