From 1d9ef1a3d84158c73cd8903fb38a9637ca153f5e Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 21 Jul 2020 18:53:01 +0000 Subject: [PATCH] Corrected variable in condition --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 96aeb63816..f7e7ae8737 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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