[BUGFIX] Proper use of UserSettingsController in ExtdirectTreeCommands 30/39430/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 11 May 2015 10:44:07 +0000 (12:44 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 11 May 2015 10:59:59 +0000 (12:59 +0200)
Use the correct object and it's process() method.

Resolves: #66880
Related: #66868
Releases: master
Change-Id: Ibdfd2734b01c7e4fee89dc66cae853d275b1d4bd
Reviewed-on: http://review.typo3.org/39430
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php

index 78cc896..be719a2 100644 (file)
@@ -367,7 +367,7 @@ class ExtdirectTreeCommands {
                                }
                        }
                }
-               $userSettings->set('BackendComponents.States.' . $stateId, $state);
+               $userSettingsController->process('set', 'BackendComponents.States.' . $stateId, $state);
                return (array)$state->stateHash;
        }