From 9930c612634e3b95da98ecc783ac5d223cf22d07 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 17 Mar 2018 20:56:56 +0000 Subject: [PATCH] Same same but different --- src/Protocol/DFRN.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index 2d48fa602..2aa672ef6 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"]];