mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:25:54 +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();
|
$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