]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong field name
authorMichael <heluecht@pirati.ca>
Tue, 28 Apr 2020 03:52:07 +0000 (03:52 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 28 Apr 2020 03:52:07 +0000 (03:52 +0000)
src/Protocol/Diaspora.php

index 0cefb8def659bde1a908b6e820fa995d59aac516..7e76662d71a327f199e560db0592041dadb2b379 100644 (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'];