diff --git a/modules/consentAdmin/www/consentAdmin.php b/modules/consentAdmin/www/consentAdmin.php
index ae8b30b32b84a686cdd9843a981c315401fadd24..f277feb3ee3c395b972c7d66d972a160a96f8feb 100644
--- a/modules/consentAdmin/www/consentAdmin.php
+++ b/modules/consentAdmin/www/consentAdmin.php
@@ -205,8 +205,8 @@ $template_sp_content = array();
 
 // Init template
 $template = new SimpleSAML_XHTML_Template($config, 'consentAdmin:consentadmin.php', 'consentAdmin:consentadmin');
-$sp_empty_name = $template->translator->getTag('sp_empty_name');
-$sp_empty_description = $template->translator->getTag('sp_empty_description');
+$sp_empty_name = $template->getTag('sp_empty_name');
+$sp_empty_description = $template->getTag('sp_empty_description');
 
 // Process consents for all SP
 foreach ($all_sp_metadata as $sp_entityid => $sp_values) {