support fixes

This commit is contained in:
Rushabh Mehta 2013-01-15 12:54:31 +05:30
parent 8e10cea6d6
commit 3e4f340564

View File

@ -46,7 +46,7 @@ class SupportMailbox(POP3Mailbox):
SELECT name
FROM `tabSupport Ticket`
WHERE name=%s AND raised_by REGEXP %s
""" , (thread_id, '(' + email_id + ')'))
""" , (thread_id, '(' + mail.from_email + ')'))
if exists and exists[0] and exists[0][0]:
st = webnotes.get_obj('Support Ticket', thread_id)