@@ -444,7 +444,7 @@ sub api_v1_GET_tags { | |||
my($id, $qs, $post, $user) = @_; | |||
my @tags; | |||
my $q = sqlquery($dbh, "SELECT * FROM tags ORDER by tag DESC"); | |||
while(my $h = $q->fetchrow_array()) { | |||
while(my $h = $q->fetchrow_hashref()) { | |||
push @tags, { | |||
id => $h->{id}, | |||
name => $h->{tag}, |