mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:03:41 +00:00
Corrected variable in condition
This commit is contained in:
parent
e2826a98d3
commit
1d9ef1a3d8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue