Fix in subject issue of support ticket
This commit is contained in:
parent
dbd1d5dba6
commit
f51e52c1be
@ -19,7 +19,7 @@ class DocType(TransactionBase):
|
|||||||
if not self.doc.new_response:
|
if not self.doc.new_response:
|
||||||
webnotes.msgprint("Please write something as a response", raise_exception=1)
|
webnotes.msgprint("Please write something as a response", raise_exception=1)
|
||||||
|
|
||||||
subject = '[' + self.doc.name + '] ' + self.doc.subject
|
subject = '[' + self.doc.name + '] ' + (self.doc.subject or 'No Subject Specified')
|
||||||
|
|
||||||
response = self.doc.new_response + '\n\n[Please do not change the subject while responding.]'
|
response = self.doc.new_response + '\n\n[Please do not change the subject while responding.]'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user