File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function __construct(
4040
4141 foreach ($ GLOBALS ['TCA ' ][$ table ]['types ' ] as $ CType => $ type ) {
4242 $ CType = (string )$ CType ;
43- foreach ($ type ['columnsOverrides ' ] as $ column => $ conf ) {
43+ foreach ($ type ['columnsOverrides ' ] ?? [] as $ column => $ conf ) {
4444 if (
4545 isset ($ conf ['config ' ]['renderType ' ], $ conf ['config ' ]['uploadField ' ])
4646 && $ conf ['config ' ]['renderType ' ] === 'spreadsheetInput '
@@ -81,7 +81,7 @@ public function processDatamap_afterDatabaseOperations( // @codingStandardsIgnor
8181 $ activationConfig = $ this ->activationTypes [$ table ][$ CType ] ?? $ this ->activationTypes [$ table ]['* ' ];
8282 foreach ($ activationConfig as $ uploadField => $ renderFields ) {
8383 // truncate render fields after update if assets have been removed
84- if ($ fieldArray [$ uploadField ] === 0 ) {
84+ if (( $ fieldArray [$ uploadField ] ?? 1 ) === 0 ) {
8585 if ($ status === 'update ' ) {
8686 $ this ->connectionPool
8787 ->getConnectionForTable ($ table )
You can’t perform that action at this time.
0 commit comments