[BUGFIX] Compare feature is broken
authorThomas Löffler <loeffler@spooner-web.de>
Sun, 7 Oct 2012 09:15:08 +0000 (11:15 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 17 Oct 2012 21:52:34 +0000 (23:52 +0200)
Adding users to Compare list does not work.

Change-Id: I079f0c8cf47213854c1ef358631b6a7c9ecc9260
Resolves: #41233
Releases: 6.0
Reviewed-on: http://review.typo3.org/15377
Reviewed-by: Mattias Nilsson
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/beuser/Classes/Controller/BackendUserController.php

index ee02ae6..85258fc 100755 (executable)
@@ -167,6 +167,7 @@ class BackendUserController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionCont
         */
        public function addToCompareListAction($uid) {
                $this->moduleData->attachUidCompareUser($uid);
+               $this->moduleDataStorageService->persistModuleData($this->moduleData);
                $this->forward('index');
        }
 
@@ -178,6 +179,7 @@ class BackendUserController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionCont
         */
        public function removeFromCompareListAction($uid) {
                $this->moduleData->detachUidCompareUser($uid);
+               $this->moduleDataStorageService->persistModuleData($this->moduleData);
                $this->forward('index');
        }