Skip to content
Snippets Groups Projects
Commit 44b87601 authored by Nicole Cordes's avatar Nicole Cordes Committed by Wouter Wolters
Browse files

[BUGFIX] Storage doesn't save is_public anymore

With the style changes in https://review.typo3.org/42984/ the order of
the input fields were change and the value of the checkbox isn't sent
currently. This patch corrects the order to be able to submit the
checkbox value.

Resolves: #69819
Releases: master
Change-Id: I35ddf550fc0f4cd3c79995e6cfa7a5539a19cd1c
Reviewed-on: http://review.typo3.org/43325


Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Tested-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Tested-by: default avatarMichael Oehlhof <typo3@oehlhof.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 4adbc635
No related branches found
No related tags found
No related merge requests found
......@@ -72,10 +72,10 @@ class UserStorageCapabilityService {
<div class="t3-form-field-item">
<div class="checkbox">
<label>
<input name="data[sys_file_storage][{uid}][is_public]" value="0" type="hidden">
<input class="checkbox" value="1" name="data[sys_file_storage][{uid}][is_public]_0" type="checkbox" %s>
</label>
</div>
<input name="data[sys_file_storage][{uid}][is_public]" value="0" type="hidden">
</div>';
$content = sprintf($template,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment