[BUGFIX] Add missing break statements 52/40452/2
authorMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 19:15:03 +0000 (21:15 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 18 Jun 2015 19:32:21 +0000 (21:32 +0200)
UserSettingsController misses break statements in a switch
control structure. Add them.

Resolves: #67615
Releases: master
Change-Id: I9cd42d77324993b10b304ea85436537d448fe56e
Reviewed-on: http://review.typo3.org/40452
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/UserSettingsController.php

index 6438e94..6ab27de 100644 (file)
@@ -65,9 +65,11 @@ class UserSettingsController {
                        case 'addToList':
                                $this->addToList($key, $value);
                                $content = $this->getAll();
+                               break;
                        case 'removeFromList':
                                $this->removeFromList($key, $value);
                                $content = $this->getAll();
+                               break;
                        case 'unset':
                                $this->unsetOption($key);
                                $content = $this->getAll();