diff options
| author | André Noack <noack@data-quest.de> | 2024-02-28 08:30:33 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-02-28 08:30:33 +0000 |
| commit | e7f1909cda2b80149d02e43bb3bf1b32a794cfed (patch) | |
| tree | 2f670c45a20c70fbeaf1acb3e937c7a24386ea25 /app/controllers/my_ilias_accounts.php | |
| parent | 00240896a694caeb2a8447d1ef83b09e3182c271 (diff) | |
Resolve #3765 "Ilias Schnittstelle: Probleme beim Anlegen der Nutzer Kategorie mit Ilias 8"
Closes #3765
Merge request studip/studip!2640
Diffstat (limited to 'app/controllers/my_ilias_accounts.php')
| -rw-r--r-- | app/controllers/my_ilias_accounts.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/controllers/my_ilias_accounts.php b/app/controllers/my_ilias_accounts.php index cc1a77a..fc4c00d 100644 --- a/app/controllers/my_ilias_accounts.php +++ b/app/controllers/my_ilias_accounts.php @@ -184,9 +184,14 @@ class MyIliasAccountsController extends AuthenticatedController '<a href="'.$this->ilias->getAbsolutePath().'">'.htmlReady($this->ilias->getName()).'</a>' )); } elseif (!$session_id) { - PageLayout::postError(sprintf(_('Automatischer Login für %s-Installation (Nutzername %s) fehlgeschlagen.'), + PageLayout::postError( + sprintf( + _('Automatischer Login für %s-Installation (Nutzername %s) fehlgeschlagen.'), htmlReady($this->ilias->getName()), - htmlReady($this->ilias->user->getUsername()))); + htmlReady($this->ilias->user->getUsername()) + ), + $this->ilias->getError() + ); } elseif (($target == 'new') AND ! $module_id) { PageLayout::postError(sprintf(_('Keine Kategorie zum Anlegen neuer Lernobjekte in der %s-Installation vorhanden.'), htmlReady($this->ilias->getName()))); |
