Skip to content
Snippets Groups Projects
Commit 41a96230 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

Calendar selector: do not display the titles of users, fixes #3881

Closes #3881

Merge request studip/studip!2738
parent 14efe428
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ class Calendar_CalendarController extends AuthenticatedController
User::findCurrent()->id => _('Eigener Kalender')
];
foreach ($other_users as $user) {
$select_options[$user->id] = $user->getFullName();
$select_options[$user->id] = sprintf('%1$s %2$s', $user->vorname, $user->nachname);
}
$calendar_select->setOptions($select_options, Request::get('user_id'));
$sidebar->addWidget($calendar_select);
......
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