Fixed a bug introduced by patch from benni on 1/1 09. This prevented the TypoScript...
authorKasper Skårhøj <kasper@typo3.org>
Mon, 28 Sep 2009 13:13:04 +0000 (13:13 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 28 Sep 2009 13:13:04 +0000 (13:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6058 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tstemplate.php

index 1bf93c8..82ce6c9 100644 (file)
@@ -1349,7 +1349,7 @@ class t3lib_TStemplate    {
                $setupArrKeys = array_keys($setupArr);
                foreach ($setupArrKeys as $key) {
                        if ($acceptOnlyProperties || t3lib_div::testInt($key)) {
-                               $keyArr[] = $key;
+                               $keyArr[] = intval($key);
                        }
                }
                $keyArr = array_unique($keyArr);