diff --git a/modules/admin/lib/Controller/Test.php b/modules/admin/lib/Controller/Test.php index c88646f5b7cfa716ae4bb30c1a4d8640db8c516a..5441a971540b02bbf129d9659720a3a93a4f11cf 100644 --- a/modules/admin/lib/Controller/Test.php +++ b/modules/admin/lib/Controller/Test.php @@ -254,12 +254,12 @@ class Test if (!($elem->localName === 'NameID' && $elem->namespaceURI === Constants::NS_SAML)) { continue; } - $str .= $this->presentEptid($trans, new NameID($elem)); + $str .= $this->presentEptid($t->getTranslator(), new NameID($elem)); break; // we only support one NameID here } $str .= '</td></tr>'; } elseif (is_a($value[0], '\SAML2\XML\saml\NameID')) { - $str .= $this->presentEptid($trans, $value[0]); + $str .= $this->presentEptid($t->getTranslator(), $value[0]); $str .= '</td></tr>'; } else { $str .= '<td class="attrvalue">' . htmlspecialchars($value[0]) . '</td></tr>';