1
1
Fork 0

Corrected variable in condition

This commit is contained in:
Michael 2020-07-21 18:53:01 +00:00
parent e2826a98d3
commit 1d9ef1a3d8

View file

@ -2195,7 +2195,7 @@ class Item
$contact = Contact::getByURLForUser($item['author-link'], $uid, false, ['id']);
}
if (!empty($item['contact-id'])) {
if (!empty($contact['id'])) {
$item['contact-id'] = $contact['id'];
} else {
// Shouldn't happen at all