]> git.mxchange.org Git - friendica.git/commitdiff
function name
authornobody <nobody@zotlabs.com>
Fri, 11 Sep 2020 09:29:13 +0000 (02:29 -0700)
committernobody <nobody@zotlabs.com>
Fri, 11 Sep 2020 09:29:13 +0000 (02:29 -0700)
src/Model/Item.php

index d18e96aa1618e76bf4b433ba4e9f9e9d2240ed5b..16ac2726551082d32b0a440be8b7f118ff155152 100644 (file)
@@ -2673,7 +2673,7 @@ class Item
 
                if (!$mention) {
                        $tags = Tag::getByURIId($item_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'])) {
                                        $mention = true;
                                        Logger::log('mention found in tag: ' . $tag['url']);