sfsfd
This commit is contained in:
parent
ce55207a33
commit
61d40eef17
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ class Comment(Base):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
data["author"]=self.author.json_core
|
data["author"]=self.author.json_core
|
||||||
data["post"]=self.post.json_core
|
data["post"]=self.post.json_core if self.post else ''
|
||||||
|
|
||||||
if self.level >= 2:
|
if self.level >= 2:
|
||||||
data["parent"]=self.parent.json_core
|
data["parent"]=self.parent.json_core
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue