From a2e2f67f16bd1d1d3fd53e2c1665c31e30c65142 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Thu, 5 Sep 2019 16:44:06 +0530 Subject: [PATCH] fix(login): ldap_settings not defined --- frappe/utils/html_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/utils/html_utils.py b/frappe/utils/html_utils.py index 1dd06ffb3a..5a54cd3ce8 100644 --- a/frappe/utils/html_utils.py +++ b/frappe/utils/html_utils.py @@ -91,6 +91,7 @@ def get_icon_html(icon, small=False): u"(\ud83c[\udde0-\uddff])" "+", flags=re.UNICODE) + icon = icon or "" if icon and emoji_pattern.match(icon): return '' + icon + ''