]> git.mxchange.org Git - friendica.git/blobdiff - include/email.php
added index to config and pconfig table
[friendica.git] / include / email.php
index a3449a4249934bd965f49c031cb3d8cb90ad77e5..8ea8145fb65acc9a58443a8139f3217ce3ee036a 100755 (executable)
@@ -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)) {