kopia lustrzana https://github.com/friendica/friendica
Corrected variable in condition
rodzic
e2826a98d3
commit
1d9ef1a3d8
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue