X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Femail.php;h=8ea8145fb65acc9a58443a8139f3217ce3ee036a;hb=def0e35e21106119910391f1a5cba61b8e7bce65;hp=a3449a4249934bd965f49c031cb3d8cb90ad77e5;hpb=9243c9fc141237453f05d215058d4b975d010437;p=friendica.git diff --git a/include/email.php b/include/email.php index a3449a4249..8ea8145fb6 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)) {