From 785246f58fa5e1e360d7f0bafee591c60d38e2d9 Mon Sep 17 00:00:00 2001 From: ma0048 Date: Wed, 5 Aug 2026 12:35:41 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20Sync=20Bug=20-=20Planning=20->=20Vorans?= =?UTF-8?q?icht=20->=20Live=20->=20Planning=20->=20Voransicht=20->=20Delet?= =?UTF-8?q?e=20l=C3=A4sst=20eintr=C3=A4ge=20in=20der=20History=20auf=20Liv?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/libraries/KalenderLib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/libraries/KalenderLib.php b/application/libraries/KalenderLib.php index 626473d72..edfcb33d8 100644 --- a/application/libraries/KalenderLib.php +++ b/application/libraries/KalenderLib.php @@ -1714,6 +1714,7 @@ class KalenderLib if ($entry->status_kurzbz === 'todelete') { $this->_ci->KalenderModel->update(array('kalender_id' => $entry->kalender_id), array('status_kurzbz' => 'deleted')); + $this->_archiveVorgaenger($entry->vorgaenger_kalender_id, false); $mail_infos[] = array('entry' => $entry, 'new_status' => 'deleted', 'notify' => array('lektor', 'student')); }