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