fix 500 error (whoops)
parent
a40c367e88
commit
14ae9600cf
|
@ -954,10 +954,10 @@ class User(Base):
|
|||
|
||||
@lazy
|
||||
def show_sig(self, v):
|
||||
if not self.author.sig_html:
|
||||
if not self.sig_html:
|
||||
return False
|
||||
|
||||
if not self.author.patron and SITE_NAME != 'WPD':
|
||||
if not self.patron and SITE_NAME != 'WPD':
|
||||
return False
|
||||
|
||||
if v and (v.sigs_disabled or v.poor):
|
||||
|
|
Loading…
Reference in New Issue