Fix wrong field name

This commit is contained in:
Michael 2020-04-28 03:52:07 +00:00
parent f5886db3e2
commit ce20081d28
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class Diaspora
}
// All tags of the current post
$tags = DBA::select('tag-view', ['term'], ['uri-id' => $parent['uri-id'], 'type' => Tag::HASHTAG]);
$tags = DBA::select('tag-view', ['name'], ['uri-id' => $parent['uri-id'], 'type' => Tag::HASHTAG]);
$taglist = [];
while ($tag = DBA::fetch($tags)) {
$taglist[] = $tag['name'];