sql angepasst

This commit is contained in:
ma0048
2025-12-03 08:37:38 +01:00
parent a91fe05395
commit 8f974e8902
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