summaryrefslogtreecommitdiff
path: root/inc/mail.php
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2009-05-28 23:54:38 +0200
committerTom N Harris <tnharris@whoopdedo.org>2009-05-28 23:54:38 +0200
commit4b7f9e7005c4562f8b4b554ea5ea53fb1ebf804a (patch)
tree11fd280d8bd90a9c6aa58e2f2e4c0f2e0e4adef0 /inc/mail.php
parent4917a83a8d49fae8bcb51077f92f39bc839119c7 (diff)
downloadrpg-4b7f9e7005c4562f8b4b554ea5ea53fb1ebf804a.tar.gz
rpg-4b7f9e7005c4562f8b4b554ea5ea53fb1ebf804a.tar.bz2
Change expensive uses of split to the much faster explode.
darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
Diffstat (limited to 'inc/mail.php')
-rw-r--r--inc/mail.php2
1 files changed, 1 insertions, 1 deletions
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);