diff options
author | Mario <mario@mariovavti.com> | 2023-04-28 21:50:01 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-04-28 21:50:01 +0000 |
commit | 39d78064da3748ed31f71c9a219433bfe9cd2d56 (patch) | |
tree | dc5d0776608147f22bd2709d963a8328e2640faa /Zotlabs/Lib/Activity.php | |
parent | a2bcbb90ed269d0df2a886b3343ff75dbe5f9be4 (diff) | |
parent | 354e341d69eb748a6ae1582fadade9d1012de7e4 (diff) | |
download | volse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.tar.gz volse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.tar.bz2 volse-hubzilla-39d78064da3748ed31f71c9a219433bfe9cd2d56.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 09f31eaec..7a64d3de1 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -591,9 +591,9 @@ class Activity { foreach ($item['term'] as $t) { switch ($t['ttype']) { case TERM_HASHTAG: - // id is required so if we don't have a url in the taxonomy, ignore it and keep going. + // href is required so if we don't have a url in the taxonomy, ignore it and keep going. if ($t['url']) { - $ret[] = ['type' => 'Hashtag', 'id' => $t['url'], 'name' => '#' . $t['term']]; + $ret[] = ['type' => 'Hashtag', 'href' => $t['url'], 'name' => '#' . $t['term']]; } break; |