Skip to content

Commit

Permalink
Merge pull request #183 from alyf-de/escape-desc-v14
Browse files Browse the repository at this point in the history
fix: Escape desc to avoid query malformation due to special char
  • Loading branch information
marination authored Feb 12, 2025
2 parents 6ba7c21 + 4d9d6a0 commit fe6ec1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def get_matching_queries(
exact_match=exact_match,
exact_party_match=exact_party_match,
currency=currency,
description=transaction.description,
description=frappe.db.escape(transaction.description),
reference_number=transaction.reference_number,
)
reference_field_map = get_reference_field_map()
Expand Down

0 comments on commit fe6ec1a

Please sign in to comment.