Module: check_mk
Branch: master
Commit: 55bac24adc2d0f875894dfd00f07ffacf07b3c1f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=55bac24adc2d0f…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jan 10 17:30:26 2012 +0100
Fix bug in ValueSpec UserSelection
---
web/htdocs/wato.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 8b7f75c..d7f6122 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6950,6 +6950,7 @@ class UserSelection(ElementSelection):
return elements
def value_to_text(self, value):
+ self.load_elements()
return self._elements.get(value, value).split(" - ")[-1]
#.