diff options
Diffstat (limited to 'classes')
-rwxr-xr-x | classes/article.php | 3 |
1 files changed, 2 insertions, 1 deletions
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)]); } |