fv
This commit is contained in:
parent
698a67c684
commit
00a59e869f
17 changed files with 75 additions and 71 deletions
|
@ -317,7 +317,7 @@ class Submission(Base):
|
|||
|
||||
data=self.json_core
|
||||
|
||||
if self.deleted_utc > 0 or self.is_banned:
|
||||
if self.deleted_utc or self.is_banned:
|
||||
return data
|
||||
|
||||
data["author"]=self.author.json_core
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue