[BUGFIX] Storage doesn't save is_public anymore
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Service / UserStorageCapabilityService.php
index 88d9993..5aaf71a 100644 (file)
@@ -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,