diff --git a/classes/article.php b/classes/article.php index 4020ea35a..1e90c843e 100755 --- a/classes/article.php +++ b/classes/article.php @@ -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)]); }