Follow-up to bug #13670: Performance optimization: change while(list() to foreach()
authorSteffen Kamper <info@sk-typo3.de>
Sat, 15 May 2010 23:21:26 +0000 (23:21 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 15 May 2010 23:21:26 +0000 (23:21 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7621 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/lowlevel/dbint/index.php

index 49bb447..b058e2b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,6 @@
 2010-05-16  Steffen Kamper  <info@sk-typo3.de>
 
-       * Fixed bug #14343 - Flash message when install tool enable file has been deleted/created (thanks to Jigal van Hemert)
+       * Follow-up to bug #13670: Performance optimization: change while(list() to foreach()
 
 2010-05-15  Christian Kuhn  <lolli@schwarzbu.ch>
 
index 4dbc48f..5f39e69 100755 (executable)
@@ -380,7 +380,7 @@ class SC_mod_tools_dbint_index {
                                        '<code>php ' . PATH_typo3 . 'cli_dispatch.phpsh lowlevel_refindex -e</code><br /><br />';
                $content.= '<div class="typo3-message message-information"><div class="message-body">' . $GLOBALS['LANG']->getLL('checkScript_information') . '</div></div>';
                $content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_moreDetails') . '<br /><a href="' . $GLOBALS['BACK_PATH'] . 'sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt" target="_new">' . PATH_typo3 . 'sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt</a></p>';
-               
+
                $this->content.= $this->doc->section($GLOBALS['LANG']->getLL('updateRefIndex'), $content, false, true);
        }
 
@@ -580,7 +580,7 @@ class SC_mod_tools_dbint_index {
 
                $code='';
                if (is_array($fileTest['noReferences']))        {
-                       foreach (fileTest['noReferences'] as $val) {
+                       foreach ($fileTest['noReferences'] as $val) {
                                $code.='<nobr>' . $val[0] . '/<b>' . $val[1] . '</b></nobr><br>';
                        }
                }