diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2024-12-04 12:02:06 +0100 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-12-04 14:30:40 +0100 |
| commit | fcc7482d7d002ae4dcfd095d68ed25d68d0e0adc (patch) | |
| tree | 459f52a42a239e5594538c62589642ab6dccd227 /app/views/admin/datafields/index.php | |
| parent | 96fa5cdec8a36b7fd6330cbe6580ec6b7f21d3b2 (diff) | |
Resolve "Sprachauswahl für Originalfassung der Modul(teil)-Deskriptoren", fixes #4261
Diffstat (limited to 'app/views/admin/datafields/index.php')
| -rw-r--r-- | app/views/admin/datafields/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/datafields/index.php b/app/views/admin/datafields/index.php index e62b8d6..de4b512 100644 --- a/app/views/admin/datafields/index.php +++ b/app/views/admin/datafields/index.php @@ -108,7 +108,7 @@ <?= $val->object_class !== null ? htmlReady($GLOBALS['INST_TYPE'][$val->object_class]['name']) : _('alle')?> <? elseif ($key === 'moduldeskriptor' || $key === 'modulteildeskriptor') : ?> <?= $val->object_class !== null ? htmlReady(implode(', ', array_map(function ($class) { - return $GLOBALS['MVV_MODULTEIL_DESKRIPTOR']['SPRACHE']['values'][$class]['name']; + return Config::get()->CONTENT_LANGUAGES[$class]['name']; }, explode(',', $val->object_class)))) : _('alle')?> <? elseif ($key === 'studycourse'): ?> <? $object_classes = |
