fdsdfs
This commit is contained in:
parent
9c56b14908
commit
34d4b4748e
3 changed files with 3 additions and 3 deletions
|
@ -347,7 +347,7 @@ class Comment(Base):
|
|||
@lazy
|
||||
def collapse_for_user(self, v):
|
||||
|
||||
if self.over_18 and not (v and v.over_18) and not self.post.over_18: return True
|
||||
if self.over_18 and not (v and v.over_18) and not (self.post and self.post.over_18): return True
|
||||
|
||||
if not v: return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue