show votes flag

merge-requests/30/head
Bob Mottram 2023-04-05 20:04:29 +01:00
parent 76a43df0ff
commit dceffe67be
1 changed files with 1 additions and 2 deletions

View File

@ -7581,9 +7581,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.reverse_sequence)
# show poll/vote/question posts checkbox
show_vote_posts = True
show_vote_posts = False
if fields.get('showVotes'):
show_vote_posts = False
if fields['showVotes'] == 'on':
show_vote_posts = True
account_dir = acct_dir(self.server.base_dir,