From 035af5236645433673c69cf27f0060061761066e Mon Sep 17 00:00:00 2001
From: "j.goderbauer" <j.goderbauer@adito.de>
Date: Thu, 21 Jan 2021 12:10:20 +0100
Subject: [PATCH] Appointment_entity: fix bug while checking for differences of
 X-ADITO-ISALLDAYEVENT

---
 entity/Appointment_entity/recordcontainers/jdito/onUpdate.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js b/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js
index 32ea225c34..dde683a892 100644
--- a/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js
+++ b/entity/Appointment_entity/recordcontainers/jdito/onUpdate.js
@@ -83,7 +83,7 @@ function areEventAndFieldsDifferent(event){
         event[calendars.DTSTART] != vars.get("$field.BEGIN") ||
         event[calendars.DTEND] != vars.get("$field.END") ||
         event[calendars.HASREMINDER] != "false" ||
-        event["X-ADITO-ISALLDAYEVENT"] == vars.get("$field.ALLDAY") ||
+        event["X-ADITO-ISALLDAYEVENT"] != vars.get("$field.ALLDAY") ||
         event[calendars.CLASSIFICATION] != vars.get("$field.CLASSIFICATION") ||
         event[calendars.CATEGORIES] != vars.get("$field.CATEGORIES") ||
         event[calendars.AFFECTEDUSERS] != vars.get("$field.ATTENDEES") ||
-- 
GitLab