]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Item.php
Merge pull request #8912 from annando/subscribed-tags
[friendica.git] / src / Model / Item.php
index 96aeb638164f2b96d5ce6ebf26f598fdb5120573..f7e7ae8737d0d7647f373a5ffd23deee9e381a5d 100644 (file)
@@ -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