mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 18:25:32 +00:00
Fix Support Ticket
This commit is contained in:
@@ -54,8 +54,8 @@ class SupportMailbox(POP3Mailbox):
|
||||
exists = webnotes.conn.sql("""\
|
||||
SELECT name
|
||||
FROM `tabSupport Ticket`
|
||||
WHERE name=%s AND raised_by LIKE %s
|
||||
""", (thread_id, "%" + email_id + "%"))
|
||||
WHERE name=%s AND raised_by REGEXP '%s'
|
||||
""" % ('(' + email_id + ')',), thread_id)
|
||||
if exists and exists[0] and exists[0][0]:
|
||||
from webnotes.model.code import get_obj
|
||||
|
||||
|
||||
Reference in New Issue
Block a user