Module: check_mk
Branch: master
Commit: 00a85d091da080a2e94b0d4bff7c15db44fe4276
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=00a85d091da080…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 24 11:07:23 2017 +0200
4747 FIX Fixed resetting global settings to factory defaults
Change-Id: I3fd03c012c1136ed4d41c486a54857de7edc9c64
---
.werks/4747 | 11 +++++++++++
web/htdocs/wato.py | 3 +--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/4747 b/.werks/4747
new file mode 100644
index 0000000..1265c75
--- /dev/null
+++ b/.werks/4747
@@ -0,0 +1,11 @@
+Title: Fixed resetting global settings to factory defaults
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1495616831
+
+
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index e4dbc2e..6de6d4d 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -6952,8 +6952,7 @@ def mode_edit_configvar(phase, what = 'globalvars'):
return ""
elif c == None:
return None
-
- if not html.check_transaction():
+ elif not html.check_transaction():
return
try: