Skip to content

Commit 962bb33

Browse files
committed
fix(form): problem displaying a anonymous compatible question
1 parent 607de32 commit 962bb33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/pages/userform.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
{% endif %}
8888
{% endif %}
8989
{% endif %}
90-
{% if options.anonymous or question.getSubField().isAnonymousFormCompatible() %}
90+
{% if not options.anonymous or question.getSubField().isAnonymousFormCompatible() %}
9191
{% set sessionData = session('formcreator') %}
9292
{{ question.getRenderedHtml(domain, true, sessionData.data)|raw }}
9393
{% endif %}

0 commit comments

Comments
 (0)