[BUGFIX] Syntax error in class.tx_coreupdates_t3skin.php 96/22796/2
authorWouter Wolters <typo3@wouterwolters.nl>
Tue, 30 Jul 2013 12:18:00 +0000 (14:18 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 3 Aug 2013 22:35:07 +0000 (00:35 +0200)
Fix Syntax Problem: Cannot use [] for reading

Change-Id: I9f5be90dbc9aa55475049bd8a8720cab0c321af4
Resolves: #35274
Releases: 4.7, 4.5
Reviewed-on: https://review.typo3.org/22796
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/install/updates/class.tx_coreupdates_t3skin.php

index ec20821..698be55 100644 (file)
@@ -73,7 +73,7 @@ class tx_coreupdates_t3skin extends Tx_Install_Updates_Base {
                $result = FALSE;
                if ($this->versionNumber >= 4004000 && !t3lib_extMgm::isLoaded('t3skin')) {
                        // check wether the table can be truncated or if sysext with tca has to be installed
-                       if ($this->checkForUpdate($customMessages[])) {
+                       if ($this->checkForUpdate($customMessages)) {
                                $extList = $this->addExtToList(array('t3skin'));
                                if ($extList) {
                                        $message = $this->writeNewExtensionList($extList);
@@ -134,4 +134,4 @@ class tx_coreupdates_t3skin extends Tx_Install_Updates_Base {
                return $result;
        }
 }
-?>
\ No newline at end of file
+?>