From 89a34159f9a824ea78b4aea3acf05f826db1ba16 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 20 Dec 2022 12:50:00 +0530 Subject: [PATCH] fix: postgres query (#19357) Double quotes are supposed to be used for table/columns only in postgres. Mariadb is fine with either. [skip ci] --- frappe/contacts/doctype/contact/contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/contacts/doctype/contact/contact.py b/frappe/contacts/doctype/contact/contact.py index 8540e1cfb8..36e7629173 100644 --- a/frappe/contacts/doctype/contact/contact.py +++ b/frappe/contacts/doctype/contact/contact.py @@ -141,7 +141,7 @@ def get_default_contact(doctype, name): where dl.link_doctype=%s and dl.link_name=%s and - dl.parenttype = "Contact"''', + dl.parenttype = 'Contact' ''', (doctype, name), as_dict=True, )