Merge remote-tracking branch 'origin/feature-69454/lvverwaltung_karteireiter_lv_termine' into demo

This commit is contained in:
ma0048
2026-02-12 10:34:25 +01:00
2 changed files with 7 additions and 4 deletions
@@ -181,9 +181,8 @@ class LvPlan extends FHCAPI_Controller
$this->load->library('StundenplanLib');
$result = $this->stundenplanlib->getEventsByLV($lv_id, $start_date, $end_date, $stundenplan);
$lvplanEvents = $this->getDataOrTerminateWithError($result);
$this->terminateWithSuccess($lvplanEvents);
$this->terminateWithSuccess(hasData($result) ? getData($result) : []);
}
//TODO: delete this function if we don't use the old calendar export endpoints anymore