Module: check_mk
Branch: master
Commit: d306a7190d2e79be22841591e990abea39c5a670
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d306a7190d2e79…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Apr 23 16:32:39 2014 +0200
werk 902, another displaybug fix
---
web/htdocs/views.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 6029ff1..e2389a1 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -2738,6 +2738,9 @@ def get_host_tags(row):
if type(row.get("host_custom_variables")) == dict:
return row["host_custom_variables"].get("TAGS",
"")
+ if type(row.get("host_custom_variable_names")) != list:
+ return ""
+
for name, val in zip(row["host_custom_variable_names"],
row["host_custom_variable_values"]):
if name == "TAGS":