Module: check_mk
Branch: master
Commit: bf76ec82fcc04e6b69b739df7289e8c8f05f773c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bf76ec82fcc04e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon May 2 13:21:05 2011 +0200
FIX: customlinks snapin: Suppressing exception when no links configured
---
web/plugins/sidebar/shipped.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 2eec199..4f95f97 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -960,6 +960,7 @@ def render_custom_links():
if not links:
html.write("Please edit <tt>%s</tt> in order to configure which
links are shown in this snapin.\n" %
(defaults.default_config_dir + "/multisite.mk"))
+ return
def render_list(ids, links):
states = load_customlink_states()