Allow notes to be cleared

main
Bob Mottram 2020-08-05 22:14:55 +01:00
parent a14d6a014e
commit 697de38d9f
1 changed files with 3 additions and 1 deletions

View File

@ -7815,10 +7815,12 @@ class PubServer(BaseHTTPRequestHandler):
callingDomain)
self.server.POSTbusy = False
return
if '&submitPersonNotes=' in optionsConfirmParams and personNotes:
if '&submitPersonNotes=' in optionsConfirmParams:
if self.server.debug:
print('Change person notes')
handle = optionsNickname + '@' + optionsDomainFull
if not personNotes:
personNotes = ''
setPersonNotes(self.server.baseDir,
chooserNickname,
self.server.domain,