Fix tags response typing
parent
4c684f1aef
commit
5f3323529b
|
@ -58,6 +58,12 @@ trait TimelineQueryTags {
|
|||
|
||||
// FETCH all tags
|
||||
$tags = $query->executeQuery()->fetchAll();
|
||||
|
||||
// Post process
|
||||
foreach($tags as &$row) {
|
||||
$row["count"] = intval($row["count"]);
|
||||
}
|
||||
|
||||
return $tags;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue