Fixed a problem with the tags.
This commit is contained in:
parent
7ae53206e1
commit
f10c111925
@ -84,6 +84,7 @@ class PostController(BaseController):
|
||||
db_tags = Session.query(Tag).filter(Tag.url.in_(tag_urls)).all()
|
||||
post.tags = []
|
||||
for tag in db_tags:
|
||||
if tag.name in tag_list:
|
||||
tag_list.remove(tag.name)
|
||||
post.tags.append(tag)
|
||||
for tag in tag_list:
|
||||
|
Reference in New Issue
Block a user