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