Skip to content
Snippets Groups Projects
Commit b45a245c authored by Mathias Schreiber's avatar Mathias Schreiber Committed by Christian Kuhn
Browse files

[BUGFIX] Store boolean value properly in Install Tool (again)

The refactoring moved the hidden field behind the actual
checkbox field, so all booleans got stored as 0

Resolves: #71377
Releases: master
Change-Id: I7cc89ebee419f4f6780f0f125086ee335d9bae7e
Reviewed-on: https://review.typo3.org/44584


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent bd841ed6
No related merge requests found
......@@ -29,6 +29,11 @@
<f:if condition="{item.type} == 'checkbox'">
<div class="checkbox">
<label>
<input
type="hidden"
value="0"
name="install[values][{sectionName}][{item.key}]"
/>
<input
type="checkbox"
value="1"
......@@ -38,11 +43,6 @@
{item.description -> f:format.raw()}
</label>
</div>
<input
type="hidden"
value="0"
name="install[values][{sectionName}][{item.key}]"
/>
</f:if>
<f:if condition="{item.type} == 'input'">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment