Feature #11581: Small speed improvement in class.t3lib_tstemplate.php (Thanks to...
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 31 Jul 2009 12:17:14 +0000 (12:17 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 31 Jul 2009 12:17:14 +0000 (12:17 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5742 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tstemplate.php

index d41f3e8..20efb13 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-07-31  Christian Kuhn  <lollli@schwarzbu.ch>
 
+       * Feature #11581: Small speed improvement in class.t3lib_tstemplate.php (Thanks to Dan Osipov)
        * Fixed bug #11601: Copyright-Notice is hardcoded (Thanks to Christopher Stelmaszyk)
 
 2009-07-30  Oliver Hader  <oliver@typo3.org>
index 9e841f3..39bbe5f 100644 (file)
@@ -1095,12 +1095,8 @@ class t3lib_TStemplate   {
                                        foreach($tempConf as $aKey => $val)     {
                                                $conf2[$aKey][$cKey] = $val;
                                        }
-                               }
-                       }
-
-                               // Splitting of all values on this level of the TypoScript object tree:
-                       foreach($conf as $cKey => $val) {
-                               if (!is_array($val))    {
+                               } else {
+                                               // Splitting of all values on this level of the TypoScript object tree:
                                        if (!strstr($val,'|*|') && !strstr($val,'||'))  {
                                                for ($aKey=0;$aKey<$splitCount;$aKey++) {
                                                        $conf2[$aKey][$cKey] = $val;