Module: check_mk
Branch: master
Commit: bef145a1519aa87e87ca1e97bd82f8786c272dc6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bef145a1519aa8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 24 10:37:19 2017 +0200
Fixed assert exception when no tables are shown on rule list page
Change-Id: I9e318de991cfe1c448723a402ea5bf5f3d15d621
---
web/htdocs/wato.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 5de5ee3..e4dbc2e 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -13096,7 +13096,8 @@ class ModeEditRuleset(WatoMode):
self._rule_cells(rule)
- table.end()
+ if last_folder != None:
+ table.end()
def _action_url(self, action, folder, rulenr):