From fc23c5ce5fdc1bd5b7825310b6f9b1c0de995c5b Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Mon, 1 Sep 2025 22:12:01 +0200 Subject: [PATCH] =?UTF-8?q?Bugfix=20Calender=20Update=20sync=20richtung=20?= =?UTF-8?q?MS=20*=20Die=20Positionierung=20von=20Originalend=20war=20ung?= =?UTF-8?q?=C3=BCnstig.=20ist=20nun=20bereinigt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/Calendar/CalendarModel.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/application/Calendar/CalendarModel.php b/application/Calendar/CalendarModel.php index eef462ce9..1a5cfeb53 100644 --- a/application/Calendar/CalendarModel.php +++ b/application/Calendar/CalendarModel.php @@ -650,11 +650,14 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda $start = ((($r->start - 7200000) / 1000)); $end = ((($r->end - 7200000) / 1000)); - $originalend = $end; + if ($title) { $start = strtotime($r->start); $end = strtotime($r->end); } + + $originalend = $end; + $allday = ($r->allday); if ($allday) { $start = $start + 7200; @@ -804,8 +807,6 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda $db->delete("tmp_cal_events_attachments", "id = '" . $tmpid . "'"); } } - - $updateArray['attachments'] = $attachments; $updateArray['end_time'] = $originalend; }