Module: check_mk
Branch: master
Commit: bda3a43cf0226041519cc0495bf656d6e9dd6114
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bda3a43cf02260…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Sun Nov 17 17:16:44 2013 +0100
FIX Fixed exception in wato
---
.werks/96 | 8 ++++++++
ChangeLog | 3 ++-
web/htdocs/htmllib.py | 2 ++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/96 b/.werks/96
new file mode 100644
index 0000000..2c748eb
--- /dev/null
+++ b/.werks/96
@@ -0,0 +1,8 @@
+Title: Fixed exception in wato
+Level: 1
+Component: wato
+Version: 1.2.3i7
+Date: 1384704895
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 7b4021e..fc6279f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -42,9 +42,10 @@
* 0033 FIX: WATO forms: incorrect handling of checkbox state
* 0205 FIX: Allowing star chars in variable names to fix role/permission editing...
* 0207 FIX: Explicit communities were not written to config files in all cases
- * 0095 FIX: Fixed problem with portnumber in Wato Distributed Monitoring dialog
* 0094 FIX: Hide SNMPv3 credentials in WATO...
* 0212 FIX: Fixed loading of sites with configured tcp socket in WATO
+ * 0095 FIX: Fixed problem with portnumber in Wato Distributed Monitoring dialog
+ * 0096 FIX: Fixed exception in wato
Notifications:
* 0005 Added notification script for sending SMS via
mobilant.com...
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index 4e98d99..3964300 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1129,6 +1129,8 @@ class html:
def varencode(self, varname):
if varname == None:
return "None"
+ if type(varname) == int:
+ return varname
ret = ""
for c in varname: