Skip to content
Snippets Groups Projects
Commit 268cd267 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfix. The consentAdmin module was still calling...

Bugfix. The consentAdmin module was still calling SimpleSAML_XHTML_Template::getTag(), while that method has been moved to \SimpleSAML\Locale\Translate.
parent 7ed50cab
No related branches found
No related tags found
No related merge requests found
......@@ -205,8 +205,9 @@ $template_sp_content = array();
// Init template
$template = new SimpleSAML_XHTML_Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin');
$sp_empty_name = $template->getTag('sp_empty_name');
$sp_empty_description = $template->getTag('sp_empty_description');
$translator = new \SimpleSAML\Locale\Translate($config, 'consentAdmin:consentadmin');
$sp_empty_name = $translator->getTag('sp_empty_name');
$sp_empty_description = $translator->getTag('sp_empty_description');
// Process consents for all SP
foreach ($all_sp_metadata as $sp_entityid => $sp_values) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment