[BUGFIX] Use userInput instead of own broken method 11/21511/4
authorAlexander Opitz <opitz.alexander@googlemail.com>
Wed, 19 Jun 2013 17:14:46 +0000 (19:14 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 19 Jun 2013 20:34:04 +0000 (22:34 +0200)
The user data from form post submit is broken after install tool
rewrite. Instead of using own method to gather data changed to
the userInput variable that is set by the calling action.

Resolves: #49260
Related: #49162
Related: #49258
Releases: 6.2
Change-Id: I2ce0b5e4bfcb0ef013039297a9186f0f59413b31
Reviewed-on: https://review.typo3.org/21511
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/install/Classes/CoreUpdates/InstallSysExtsUpdate.php

index d4e9746..daf62eb 100644 (file)
@@ -165,10 +165,10 @@ class InstallSysExtsUpdate extends \TYPO3\CMS\Install\Updates\AbstractUpdate {
         */
        public function performUpdate(array &$dbQueries, &$customMessages) {
                        // Get extension keys that were submitted by the user to be installed and that are valid for this update wizard
-               if (is_array($this->pObj->INSTALL['update']['installSystemExtensions']['sysext'])) {
+               if (is_array($this->userInput['sysext'])) {
                        $extArray = array_intersect(
                                $this->systemExtensions,
-                               array_keys($this->pObj->INSTALL['update']['installSystemExtensions']['sysext'])
+                               array_keys($this->userInput['sysext'])
                        );
                        $this->installExtensions($extArray, $customMessages);
                }