[BUGFIX] Prevent reset of user settings in getFromDottedNotation()
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Controller / UserSettingsController.php
index c1fe027..9de51f4 100644 (file)
@@ -202,10 +202,10 @@ class UserSettingsController
     protected function getFromDottedNotation($key)
     {
         $subkeys = GeneralUtility::trimExplode('.', $key);
-        $array = &$this->getBackendUser()->uc;
+        $array = $this->getBackendUser()->uc;
         foreach ($subkeys as $subkey) {
             if (isset($array[$subkey])) {
-                $array =  &$array[$subkey];
+                $array = &$array[$subkey];
             } else {
                 $array = [];
                 break;