Skip to content

Commit

Permalink
Merge pull request frappe#1586 from rtdany10/no-assignee
Browse files Browse the repository at this point in the history
fix: unable to view ticket if no assignee
  • Loading branch information
ssiyad authored Oct 12, 2023
2 parents f1b2775 + d525fb7 commit a7479f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpdesk/helpdesk/doctype/hd_ticket/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_customer_criteria():

def get_assignee(_assign: str):
j = frappe.parse_json(_assign)
if len(j) < 1:
if not j or len(j) < 1:
return
return get_user_info_for_avatar(j.pop())

Expand Down

0 comments on commit a7479f3

Please sign in to comment.