Module: check_mk
Branch: master
Commit: b1e9d1a36bea3bac71a3e60f4d2a74c3b4e5fc28
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1e9d1a36bea3b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue Sep 24 16:16:31 2013 +0200
Fixed exception in ldap_attribute_plugins without parameters
---
web/plugins/userdb/ldap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/userdb/ldap.py b/web/plugins/userdb/ldap.py
index d08d00b..10fe2eb 100644
--- a/web/plugins/userdb/ldap.py
+++ b/web/plugins/userdb/ldap.py
@@ -577,7 +577,7 @@ def ldap_attribute_plugins_elements():
elements.append((key, FixedValue(
title = plugin['title'],
help = plugin['help'],
- value = None,
+ value = {},
totext = 'no_param_txt' in plugin and
plugin['no_param_txt'] \
or _('This synchronization plugin has no
parameters.'),
)))