[BUGFIX] EXT:setup User Settings > realName and email not saved 46/42246/2
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 4 Aug 2015 12:24:05 +0000 (14:24 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 4 Aug 2015 12:27:48 +0000 (14:27 +0200)
Saving an avatar resetted the input data to only contain
the avatar data. Fix this by adding the avatar information to
the array.

Resolves: #68385
Releases: master
Change-Id: Ia48f3d150468b944f8e325c998f04a48de13a0b3
Reviewed-on: http://review.typo3.org/42246
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php

index 6b0e5f2..54ef1c2 100644 (file)
@@ -921,7 +921,7 @@ class SetupModuleController {
                                        'pid' => 0,
                                        'table_local' => 'sys_file',
                                );
-                               $storeRec['be_users'][(int)$beUserId] = array('avatar' => 'NEW1234');
+                               $storeRec['be_users'][(int)$beUserId]['avatar'] = 'NEW1234';
                        }
                }
        }