Skip to content

Commit

Permalink
fix missing settings doctype
Browse files Browse the repository at this point in the history
  • Loading branch information
mymi14s committed Jan 4, 2024
1 parent 07cf3c7 commit 88d8985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion one_fm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3015,7 +3015,7 @@ def has_super_user_role(user=None):
return True
else:
# Get configured super user in ONEFM General Settings
super_user_role = frappe.db.get_single_value("ONEFM General Settings", "super_user_role")
super_user_role = frappe.db.get_single_value("ONEFM General Setting", "super_user_role")
# Check if the super user role exists in the user role list
if super_user_role and super_user_role in user_roles:
return True
Expand Down

0 comments on commit 88d8985

Please sign in to comment.