Skip to content
Snippets Groups Projects
Commit 2bd3b977 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by Jan-Hendrik Willms
Browse files

fixes #4234

Closes #4234

Merge request studip/studip!3067
parent c6e7bc15
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ class ConsultationBlock extends SimpleORMap implements PrivacyObject ...@@ -71,7 +71,7 @@ class ConsultationBlock extends SimpleORMap implements PrivacyObject
if ($block->range instanceof User) { if ($block->range instanceof User) {
return $block->range->getFullName() . ' <' . $block->range->email . '>'; return $block->range->getFullName() . ' <' . $block->range->email . '>';
} }
if ($block->range instanceof Course || $block->range instanceof Institute) { if ($block->range instanceof Course) {
return sprintf(_('Veranstaltung: %s'), $block->range->getFullName()); return sprintf(_('Veranstaltung: %s'), $block->range->getFullName());
} }
......
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