Merge branch 'stable'

This commit is contained in:
Anand Doshi 2012-01-16 17:55:01 +05:30
commit 66df8ac34c

View File

@ -48,6 +48,12 @@ class DocType(TransactionBase):
where parent = %s order by creation desc limit 1
""", self.doc.name)
if not tmp:
tmp = webnotes.conn.sql("""
SELECT description from `tabSupport Ticket`
where name = %s
""", self.doc.name)
return '\n\n=== In response to ===\n\n' + tmp[0][0]
def make_response_record(self, response, from_email = None, content_type='text/plain'):