Module: check_mk
Branch: master
Commit: ac09a6c9dcf806c3a356ef0f70611354b041264a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac09a6c9dcf806…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu May 28 10:36:13 2015 +0200
Fixed exception related to site filtering introduced some days ago
---
web/htdocs/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index 5a56e0c..1f91068 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -2127,7 +2127,7 @@ def url_to_view(row, view_name):
if filter_key in dict(url_vars):
add_site_hint = False
- if add_site_hint:
+ if add_site_hint and row.get('site'):
url_vars.append(('site', row['site']))
do = html.var("display_options")