setArticleTags: always return tags from the db
This commit is contained in:
parent
921b5ca2ce
commit
4fa8450d38
|
@ -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)]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue