Corrected variable in condition
This commit is contained in:
parent
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user