mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 13:39:18 +00:00
Fix in subject issue of support ticket
This commit is contained in:
@@ -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.]'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user