[BUGFIX] Use correct default value for sys_file_storage|is_public 32/60032/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 11 Mar 2019 06:12:57 +0000 (07:12 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 11 Mar 2019 10:32:06 +0000 (11:32 +0100)
Use 1 instead of true as default value.

Resolves: #87873
Releases: master, 9.5, 8.7

Change-Id: I6665ebd5b59336a00ea3019cf30ba5c98123a4f6
Reviewed-on: https://review.typo3.org/c/60032
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Josef Glatz <josef.glatz@typo3.org>
Tested-by: Stefan Froemken <froemken@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Josef Glatz <josef.glatz@typo3.org>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Configuration/TCA/sys_file_storage.php

index cde0c5e..1bda7d8 100644 (file)
@@ -73,7 +73,7 @@ return [
         'is_public' => [
             'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_storage.is_public',
             'config' => [
-                'default' => true,
+                'default' => 1,
                 'type' => 'user',
                 'renderType' => 'userSysFileStorageIsPublic',
             ]