aboutsummaryrefslogtreecommitdiffstats
path: root/include/email.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-03-18 10:36:49 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-03-18 10:36:49 +0000
commit72894b0e91515461717c584879e5a4331841104a (patch)
treef3c256fb748d21440ea19a25fd2232c626fc1122 /include/email.php
parent4bb280bc2f7068f0c1199e9f8119e25278aa3bcb (diff)
downloadvolse-hubzilla-72894b0e91515461717c584879e5a4331841104a.tar.gz
volse-hubzilla-72894b0e91515461717c584879e5a4331841104a.tar.bz2
volse-hubzilla-72894b0e91515461717c584879e5a4331841104a.zip
replace split() by explode(); split is deprecated
Diffstat (limited to 'include/email.php')
-rwxr-xr-xinclude/email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/email.php b/include/email.php
index a3449a424..8ea8145fb 100755
--- a/include/email.php
+++ b/include/email.php
@@ -56,7 +56,7 @@ function email_msg_headers($mbox,$uid) {
$raw_header = (($mbox && $uid) ? @imap_fetchheader($mbox,$uid,FT_UID) : '');
$raw_header = str_replace("\r",'',$raw_header);
$ret = array();
- $h = split("\n",$raw_header);
+ $h = explode("\n",$raw_header);
if(count($h))
foreach($h as $line ) {
if (preg_match("/^[a-zA-Z]/", $line)) {