X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FMail.php;h=9469483d9a9749e39d131db34eef27aedb9c9873;hb=45ee7d55f0dd3026f17602b2afb9a59d08d354d6;hp=6ccce24ba7d93d7a6ff4e428da273385216efb87;hpb=f609386ca11d805838f5526261068a69b489eab0;p=friendica.git diff --git a/src/Model/Mail.php b/src/Model/Mail.php index 6ccce24ba7..9469483d9a 100644 --- a/src/Model/Mail.php +++ b/src/Model/Mail.php @@ -59,8 +59,7 @@ class Mail } if (empty($msg['guid'])) { - $host = parse_url($msg['from-url'], PHP_URL_HOST); - $msg['guid'] = Item::guidFromUri($msg['uri'], $host); + $msg['guid'] = Item::guidFromUri($msg['uri'], parse_url($msg['from-url'], PHP_URL_HOST)); } $msg['created'] = (!empty($msg['created']) ? DateTimeFormat::utc($msg['created']) : DateTimeFormat::utcNow());