From 38b458176ebc96738a320d5c5e296645c89c306e Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Fri, 10 Aug 2018 23:47:36 +0200 Subject: [PATCH] Minor optimization --- modules/consent/templates/consentform.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php index 399fa6bed..234c12266 100644 --- a/modules/consent/templates/consentform.php +++ b/modules/consent/templates/consentform.php @@ -59,11 +59,7 @@ if ($this->data['sppp'] !== false) { echo "</p>"; } -echo '<h3 id="attributeheader">'. - $this->t( - '{consent:consent:consent_attributes_header}', - array('SPNAME' => $dstName, 'IDPNAME' => $srcName) - ).'</h3>'; +echo '<h3 id="attributeheader">'.$this->data['consent_attributes_header'].'</h3>'; echo $this->data['attributes_html']; -- GitLab