mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-02 19:39:27 +00:00
Bugfix: Return no events instead of error if the student is/was not enrolled in a timeframe
This commit is contained in:
@@ -109,7 +109,7 @@ class StundenplanLib{
|
||||
$stundenplan_query = $this->_ci->StundenplanModel->getStundenplanQuery($start_date, $end_date, $semester_range, $benutzer_gruppen, $student_lehrverband);
|
||||
if(!$stundenplan_query)
|
||||
{
|
||||
return error([]);
|
||||
return success([]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user