Skip to content
Snippets Groups Projects
Commit ddf42e46 authored by David Siegfried's avatar David Siegfried Committed by Jan-Hendrik Willms
Browse files

use getter, closes #1334

Closes #1334

Merge request studip/studip!818
parent ae81b030
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class Course_AdmissionController extends AuthenticatedController
if ($cs->isUserAllowedToAssignCourse($this->user_id, $this->course_id)) {
$available_coursesets[] = ['id' => $cs->getId(),
'name' => $cs->getName(),
'chdate' => $cs->chdate,
'chdate' => $cs->getChdate(),
'my_own' => $cs->getUserId() === $GLOBALS['user']->id];
}
}
......@@ -96,7 +96,7 @@ class Course_AdmissionController extends AuthenticatedController
if ($cs->isUserAllowedToAssignCourse($this->user_id, $this->course_id)) {
$available_coursesets[] = ['id' => $cs->getId(),
'name' => $cs->getName(),
'chdate' => $cs->chdate,
'chdate' => $cs->getChdate(),
'my_own' => $cs->getUserId() === $GLOBALS['user']->id];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment