File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -442,11 +442,11 @@ public function initializeAction(): void
442
442
$ this ->config = $ this ->config [BackendUtility::getPluginOrModuleString () . '. ' ]['tx_femanager. ' ]['settings. ' ] ?? [];
443
443
444
444
if (ApplicationType::fromRequest ($ GLOBALS ['TYPO3_REQUEST ' ])->isBackend ()) {
445
- $ config = BackendUtility:: loadTS ( $ this ->allConfig ['settings ' ]['configPID ' ] ?? null ) ;
446
- if ( is_array ( $ config[ ' plugin. ' ][ ' tx_femanager. ' ][ ' settings. ' ] ?? null )) {
447
- $ this ->config = $ config ['plugin. ' ]['tx_femanager. ' ]['settings. ' ];
448
- $ this ->settings = $ this ->config ;
449
- }
445
+ $ pid = $ this ->allConfig ['persistence ' ]['storagePid ' ] ?? 0 ;
446
+ $ config = BackendUtility:: loadTS (( int ) $ pid );
447
+ $ this ->config = $ config ['plugin. ' ]['tx_femanager. ' ]['settings. ' ] ?? [ ];
448
+ $ this ->settings = $ this ->config ;
449
+
450
450
451
451
$ this ->moduleConfig = $ config ['module. ' ]['tx_femanager. ' ] ?? [];
452
452
You can’t perform that action at this time.
0 commit comments