Only enabled user to be fetched
diff --git a/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py b/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py
index 04e2692..06cf1ac 100755
--- a/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py
+++ b/erpnext/hr/doctype/employee_leave_approver/employee_leave_approver.py
@@ -19,6 +19,6 @@
return frappe.db.sql("""select user.name, user.first_name, user.last_name from
tabUser user, `tabHas Role` user_role where
user_role.role = "Leave Approver"
- and user_role.parent = user.name and
+ and user_role.parent = user.name and user.enabled and
user.name != %s
- """, name or "")
\ No newline at end of file
+ """, name or "")