Browse Source

Same same but different

pull/4621/head
Michael 4 years ago
parent
commit
9930c61263
  1. 4
      src/Protocol/DFRN.php

4
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"]];

Loading…
Cancel
Save