]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
the "term" field now is called "name", workaround removed
[friendica.git] / mod / item.php
index b044078ae237b9d8f99552bfb7e8f7da1f1ddb7d..30b5f5aefa472541d9ffa6d108eb50dc990ae9b9 100644 (file)
@@ -46,7 +46,6 @@ use Friendica\Model\Item;
 use Friendica\Model\Notify\Type;
 use Friendica\Model\Photo;
 use Friendica\Model\Tag;
-use Friendica\Model\Term;
 use Friendica\Network\HTTPException;
 use Friendica\Object\EMail\ItemCCEMail;
 use Friendica\Protocol\Activity;
@@ -1062,7 +1061,7 @@ function item_add_implicit_mentions(array $tags, array $thread_parent_contact, $
                $parent_terms = Tag::getByURIId($thread_parent_uriid, [Tag::MENTION, Tag::IMPLICIT_MENTION]);
 
                foreach ($parent_terms as $parent_term) {
-                       $implicit_mentions[$parent_term['url']] = $parent_term['term'];
+                       $implicit_mentions[$parent_term['url']] = $parent_term['name'];
                }
 
                foreach ($implicit_mentions as $url => $label) {