diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-30 09:45:28 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-06-04 12:03:42 +0200 |
| commit | f2280b23613af8d3169b4383a6bc8f202a9c5dc1 (patch) | |
| tree | c6ec0611430fde75de617825a86f3f661208a8b7 | |
| parent | e614e79766ea3042101e565330eafe04f21c6134 (diff) | |
fixes #4234
Closes #4234
Merge request studip/studip!3067
| -rw-r--r-- | lib/models/ConsultationBlock.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/ConsultationBlock.php b/lib/models/ConsultationBlock.php index abf378b..a4867f0 100644 --- a/lib/models/ConsultationBlock.php +++ b/lib/models/ConsultationBlock.php @@ -68,7 +68,7 @@ class ConsultationBlock extends SimpleORMap implements PrivacyObject if ($block->range instanceof User) { 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()); } |
