- {% set checked = "" %}
{% for type in cookies %}
+ {% set checked = "" %}
{% if cookies[type] is string %}
{% set name = cookies[type] %}
{% set checked = "checked" %}
diff --git a/src/partials/consent.html b/src/partials/consent.html
index 70c2cd4f9..168b4c13c 100644
--- a/src/partials/consent.html
+++ b/src/partials/consent.html
@@ -57,8 +57,8 @@
/>
- {% set checked = "" %}
{% for type in cookies %}
+ {% set checked = "" %}
{% if cookies[type] is string %}
{% set name = cookies[type] %}
{% set checked = "checked" %}