Module: check_mk
Branch: master
Commit: 0821dc30fae1a7231d95878e56840d4283e20a94
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0821dc30fae1a7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Apr 9 15:24:03 2014 +0200
Fixed recent exception in hosts availabilty
---
web/plugins/views/availability.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/plugins/views/availability.py b/web/plugins/views/availability.py
index b32b9b8..8a88dd4 100644
--- a/web/plugins/views/availability.py
+++ b/web/plugins/views/availability.py
@@ -161,7 +161,7 @@ def render_availability(view, datasource, filterheaders,
display_options,
html.write(avoptions_html)
if not html.has_user_errors():
- if tl_aggr:
+ if timeline and tl_aggr:
if not html.has_var("aggr_group"):
raise MKGeneralException("Missing GET variable
<tt>aggr_group</tt>")
aggr_group = html.var("aggr_group")