]> git.mxchange.org Git - friendica.git/commitdiff
Use item uri-id in src/Model/Item.php
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 12 Sep 2020 15:43:02 +0000 (11:43 -0400)
committerGitHub <noreply@github.com>
Sat, 12 Sep 2020 15:43:02 +0000 (11:43 -0400)
src/Model/Item.php

index 7d379f1b42e0c64d1651f21fca84306e364ca74d..371331730c30a5213a64809032485a7e99a698cc 100644 (file)
@@ -2672,7 +2672,7 @@ class Item
                }
 
                if (!$mention) {
-                       $tags = Tag::getByURIId($item_id, [Tag::MENTION, Tag::EXCLUSIVE_MENTION]);
+                       $tags = Tag::getByURIId($item['uri-id'], [Tag::MENTION, Tag::EXCLUSIVE_MENTION]);
                        foreach ($tags as $tag) {
                                if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) {
                                        $mention = true;