Corrected variable in condition

pull/8912/head
Michael 2020-07-21 18:53:01 +00:00
rodzic e2826a98d3
commit 1d9ef1a3d8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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