Skip to content
Snippets Groups Projects
Commit 736bcffe authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

replace removed API call, fixes #352

parent 80096fa2
No related branches found
No related tags found
No related merge requests found
......@@ -869,7 +869,7 @@ class Course_StatusgroupsController extends AuthenticatedController
$dates = CourseDate::findBySeminar_id($this->course_id);
$singledates = array_filter($dates, function ($d) { return !((bool) $d->metadate_id); });
foreach ($singledates as $d) {
$name = $d->toString();
$name = $d->getFullname();
// Append description to group title if applicable.
if ($d->description) {
......
......@@ -65,7 +65,7 @@
<ul>
<?php foreach ($group->dates as $d) : ?>
<li>
<?= htmlReady($d->toString()) ?>
<?= htmlReady($d->getFullname()) ?>
</li>
<?php endforeach ?>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment