From 28df2ab8882b047b55712c21559643bc9a4bbe2d Mon Sep 17 00:00:00 2001 From: Thijs Kinkhorst <thijs@kinkhorst.com> Date: Thu, 30 Apr 2020 13:08:36 +0000 Subject: [PATCH] Unbreak authentication test page --- modules/admin/lib/Controller/Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin/lib/Controller/Test.php b/modules/admin/lib/Controller/Test.php index 5a9dd1db2..6bc87590f 100644 --- a/modules/admin/lib/Controller/Test.php +++ b/modules/admin/lib/Controller/Test.php @@ -127,7 +127,7 @@ class Test ]; if ($nameId->getFormat() !== null) { /** @var string $format */ - $format = $translator->t('{status:subject_format}'); + $format = $translator->getTag('{status:subject_format}'); $list[$format] = [$nameId->getFormat()]; } if ($nameId->getNameQualifier() !== null) { @@ -273,7 +273,7 @@ class Test ]; if ($nameID->getFormat() !== null) { /** @var string $format */ - $format = $t->t('{status:subject_format}'); + $format = $t->getTag('{status:subject_format}'); $eptid[$format] = [$nameID->getFormat()]; } if ($nameID->getNameQualifier() !== null) { -- GitLab