Fixed bug #15321: Unused variable in tx_install
authorOliver Hader <oliver.hader@typo3.org>
Sun, 1 Aug 2010 14:24:49 +0000 (14:24 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sun, 1 Aug 2010 14:24:49 +0000 (14:24 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8463 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/install/mod/class.tx_install.php

index da77b12..68f9060 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-01  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #15321: Unused variable $warningItems in tx_install
+
 2010-08-01  Susanne Moog  <typo3@susanne-moog.de>
 
        * Fixed bug #15292: Fatal error in DB browser because of wrong sprite API usage (thanks to Alexandre Gravel-Raymond)
index 508d25a..f71d66c 100755 (executable)
@@ -8132,6 +8132,7 @@ $out="
                        if (count($warnings)) {
                                        // Get the subpart for warnings
                                $warningsSubpart = t3lib_parsehtml::getSubpart($content, '###WARNINGS###');
+                               $warningItems = array();
 
                                foreach ($warnings as $warning) {
                                                // Get the subpart for single warning items
@@ -8139,7 +8140,7 @@ $out="
                                                // Define the markers content
                                        $warningItemMarker['warning'] = $warning;
                                                // Fill the markers in the subpart
-                                       $warningItem[] = t3lib_parsehtml::substituteMarkerArray(
+                                       $warningItems[] = t3lib_parsehtml::substituteMarkerArray(
                                                $warningItemSubpart,
                                                $warningItemMarker,
                                                '###|###',