From 7f264595201c45ceb94ba345d0262c7f503e728c Mon Sep 17 00:00:00 2001
From: degygii <lukas.gygi@gmail.com>
Date: Fri, 9 Dec 2016 21:39:27 +0100
Subject: [PATCH] fixed type for submitting event

---
 tools/events.tool | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/events.tool b/tools/events.tool
index 6aac268..cbb6f31 100644
--- a/tools/events.tool
+++ b/tools/events.tool
@@ -479,7 +479,7 @@
             newEvent["data"]["show_website"] = $("#show_website").is(':checked');
             newEvent["data"]["show_infoscreen"] = $("#show_infoscreen").is(':checked');
             newEvent["data"]["show_announce"] = $("#show_announce").is(':checked');
-            newEvent["data"]["additional_fields"] = setNullIfEmpty($("additional_fields".val()));
+            newEvent["data"]["additional_fields"] = setNullIfEmpty($("#additional_fields").val());
 
             newEvent["data"]["title_en"] = setNullIfEmpty($("#title_en").val());
             newEvent["data"]["description_en"] = setNullIfEmpty($("#description_en").val());
-- 
GitLab