mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 06:35:55 +00:00
setArticleTags: always return tags from the db
This commit is contained in:
@@ -248,7 +248,8 @@ class Article extends Handler_Protected {
|
||||
|
||||
$this->pdo->commit();
|
||||
|
||||
print json_encode(["id" => (int)$id, "tags" => $tags]);
|
||||
// get latest tags from the database, original $tags is sometimes JSON-encoded as a hash ({}) - ???
|
||||
print json_encode(["id" => (int)$id, "tags" => $this->_get_tags($id)]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user