Use item uri-id in src/Model/Item.php
This commit is contained in:
parent
5041aab89e
commit
35b98ce97f
1 changed files with 1 additions and 1 deletions
|
@ -2672,7 +2672,7 @@ class Item
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$mention) {
|
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) {
|
foreach ($tags as $tag) {
|
||||||
if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) {
|
if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) {
|
||||||
$mention = true;
|
$mention = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue