diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-02 09:33:51 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-02 09:33:51 +0000 |
| commit | e55a7b7ba84e84f087c44a222c3df91960f03fc7 (patch) | |
| tree | e474aba4b4db3e41a185b5bf5b4b04e953a8e8bf /app/controllers/course/dates.php | |
| parent | bd60f4a8b88c1f6173cf481ea4407668c1b0c4c0 (diff) | |
prevent php-warnings, closes #1807
Closes #1807
Merge request studip/studip!1187
Diffstat (limited to 'app/controllers/course/dates.php')
| -rw-r--r-- | app/controllers/course/dates.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/controllers/course/dates.php b/app/controllers/course/dates.php index 9c803b7..024e8db 100644 --- a/app/controllers/course/dates.php +++ b/app/controllers/course/dates.php @@ -136,7 +136,7 @@ class Course_DatesController extends AuthenticatedController public function details_action($termin_id) { $this->date = new CourseDate($termin_id); - + $this->teachers = []; Navigation::activateItem('/course/schedule/dates'); PageLayout::setTitle( $this->date->getTypeName() . ': ' . @@ -182,7 +182,9 @@ class Course_DatesController extends AuthenticatedController $this->assignLockRulesToTemplate(); Navigation::activateItem('/course/schedule/dates'); - + $start_time = null; + $end_time = null; + $xtitle = ''; if (Request::isPost()) { CSRFProtection::verifyUnsafeRequest(); |
