Module: check_mk
Branch: master
Commit: 0fe8f6b5b5513beb6d7e5e52375aa415e04fec04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0fe8f6b5b5513b…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Wed Aug 1 15:35:56 2018 +0200
Use request.has_var instead of request.var for has_var in htmllib.py
Change-Id: Idc541cf0fdfae792362f7135f5bd61e170df3a3c
---
cmk/gui/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/htmllib.py b/cmk/gui/htmllib.py
index 40091fc..24ee443 100644
--- a/cmk/gui/htmllib.py
+++ b/cmk/gui/htmllib.py
@@ -1218,7 +1218,7 @@ class html(HTMLGenerator):
# TODO: Refactor call sites to html.request.*
def has_var(self, varname):
- return self.request.var(varname)
+ return self.request.has_var(varname)
# Checks if a variable with a given prefix is present