Module: check_mk
Branch: master
Commit: 8b17da0ddad972dbbee843815fc3ea0e4f3f9bb0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8b17da0ddad972…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Oct 12 17:13:12 2015 +0200
Fix acknowledgments of single werks
---
web/htdocs/werks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/werks.py b/web/htdocs/werks.py
index 5e2881e..465d9d5 100644
--- a/web/htdocs/werks.py
+++ b/web/htdocs/werks.py
@@ -94,7 +94,7 @@ def page_version():
def handle_acknowledgement():
if html.var("_werk_ack") and html.check_transaction():
- werk_id = int(html.var("werk_ack"))
+ werk_id = int(html.var("_werk_ack"))
werk = g_werks[werk_id]
if werk["compatible"] == "incomp_unack":
acknowledge_werk(werk)