diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2025-07-24 11:28:27 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2025-07-24 11:28:27 +0000 |
| commit | adeef25cdd76acffda1462d4d949d447dba4acf6 (patch) | |
| tree | 3c476f3649e08c2f8013313e811f358bcdb99ecc /app/controllers/course/block_appointments.php | |
| parent | 9391714a2d78ef4ce0338c2c1698ee5cdf981157 (diff) | |
prevent php-warnings, fixes #5752
Closes #5752
Merge request studip/studip!4384
Diffstat (limited to 'app/controllers/course/block_appointments.php')
| -rw-r--r-- | app/controllers/course/block_appointments.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/course/block_appointments.php b/app/controllers/course/block_appointments.php index 1628e94..88d7378 100644 --- a/app/controllers/course/block_appointments.php +++ b/app/controllers/course/block_appointments.php @@ -26,7 +26,7 @@ class Course_BlockAppointmentsController extends AuthenticatedController { parent::before_filter($action, $args); - $course_id = $args[0]; + $course_id = $args[0] ?? null; $this->course_id = Request::option('cid', $course_id); if (!get_object_type($this->course_id, ['sem']) || |
