fix: postgres query (#19357)
Double quotes are supposed to be used for table/columns only in postgres. Mariadb is fine with either. [skip ci]
This commit is contained in:
parent
f52869482d
commit
89a34159f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue