mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-18 00:55:02 +00:00
Merge branch 'latest' of github.com:webnotes/erpnext into latest
This commit is contained in:
@@ -56,7 +56,11 @@ class DocType(TransactionBase):
|
||||
|
||||
response_title = "=== In response to ==="
|
||||
|
||||
return "\n\n" + response_title + "\n\n" + tmp[0][0].split(response_title)[0]
|
||||
if tmp and tmp[0][0]:
|
||||
return "\n\n" + response_title + "\n\n" + tmp[0][0].split(response_title)[0]
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
||||
def make_response_record(self, response, from_email = None, content_type='text/plain'):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user