Skip to content
Snippets Groups Projects
Verified Commit e34cf2e9 authored by Dominik Frantisek Bucik's avatar Dominik Frantisek Bucik
Browse files

fix: :bug: Fix consent collapse

parent 33990ebd
No related branches found
No related tags found
1 merge request!22fix: 🐛 Fix consent collapse
......@@ -56,7 +56,7 @@ class ConsentHelper
return 'in ' . $countryCodes[$jurisdiction];
}
public static function printUserAttributes(array $attributes, $getTranslator)
public static function printUserAttributes(array $attributes, $translator)
{
$newAttributes = [];
foreach ($attributes as $name => $value) {
......@@ -64,10 +64,10 @@ class ConsentHelper
$newAttributes[$name] = $value;
}
}
ConsentHelper::printAttributes($newAttributes, $getTranslator);
ConsentHelper::printAttributes($newAttributes, $translator);
}
public static function printTechnicalAttributes(array $attributes, $getTranslator)
public static function printTechnicalAttributes(array $attributes, $translator)
{
$newAttributes = [];
foreach ($attributes as $name => $value) {
......@@ -75,7 +75,7 @@ class ConsentHelper
$newAttributes[$name] = $value;
}
}
ConsentHelper::printAttributes($newAttributes, $getTranslator);
ConsentHelper::printAttributes($newAttributes, $translator);
}
public static function printAttributes($attributes, $translator)
......
......@@ -44,7 +44,7 @@ $this->includeAtTemplateBase('includes/header.php');
</div>
<div class="card-header" id="headingThree">
<h5 class="mb-0">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="true" aria-controls="collapseOne">
<button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="true" aria-controls="collapseThree">
Technical Information
</button>
</h5>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment