Improved logging

This commit is contained in:
Michael 2018-04-30 13:08:48 +00:00
parent 74aa3499b0
commit 5588f0d2ae

View file

@ -199,7 +199,7 @@ class Delivery extends BaseObject
*/
private static function deliverDFRN($cmd, $contact, $owner, $items, $target_item, $public_message, $top_level, $followup)
{
logger('Deliver ' . $target_item["guid"] . ' via DFRN to ' . $contact['addr']);
logger('Deliver ' . $target_item["guid"] . ' via DFRN to ' . empty($contact['addr']) ? $contact['url'] : $contact['addr']);
if ($cmd == self::MAIL) {
$item = $target_item;