From: Michael Date: Sat, 17 Mar 2018 20:56:56 +0000 (+0000) Subject: Same same but different X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9930c612634e3b95da98ecc783ac5d223cf22d07;p=friendica.git Same same but different --- diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 2d48fa602a..2aa672ef6d 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -2079,8 +2079,8 @@ class DFRN return false; } - $fields = ['title' => defaults($item["title"], ''), 'body' => defaults($item["body"], ''), - 'tag' => defaults($item["tag"], ''), 'changed' => DateTimeFormat::utcNow(), + $fields = ['title' => defaults($item, 'title', ''), 'body' => defaults($item, 'body', ''), + 'tag' => defaults($item, 'tag', ''), 'changed' => DateTimeFormat::utcNow(), 'edited' => DateTimeFormat::utc($item["edited"])]; $condition = ["`uri` = ? AND `uid` IN (0, ?)", $item["uri"], $importer["importer_uid"]];