Fixed bug #16399: Optimize stdWrap usage for TypoScript content element USER_INT...
authorSteffen Kamper <info@sk-typo3.de>
Mon, 27 Dec 2010 16:43:20 +0000 (16:43 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 27 Dec 2010 16:43:20 +0000 (16:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9917 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/content/class.tslib_content_userinternal.php

index fb7f889..11e1030 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-12-27  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #16399: Optimize stdWrap usage for TypoScript content element USER_INT (Thanks to Jo Hasenau)
        * Fixed bug #16400: Optimize stdWrap usage for TypoScript content element TEXT (Thanks to Jo Hasenau)
        * Fixed bug #16401: Optimize stdWrap usage for TypoScript content element TEMPLATE (Thanks to Jo Hasenau)
        * Fixed bug #16402: Optimize stdWrap usage for TypoScript content element SVG (Thanks to Jo Hasenau)
index 34fc28a..5afffaf 100644 (file)
@@ -45,8 +45,13 @@ class tslib_content_UserInternal extends tslib_content_Abstract {
                $this->cObj->setUserObjectType(tslib_cObj::OBJECTTYPE_USER_INT);
                $substKey = 'INT_SCRIPT.' . $GLOBALS['TSFE']->uniqueHash();
                $content = '<!--' . $substKey . '-->';
+
+               $includeLibs = isset($conf['includeLibs.'])
+                       ? $this->cObj->stdWrap($conf['includeLibs'], $conf['includeLibs.'])
+                       : $conf['includeLibs'];
+
                $GLOBALS['TSFE']->config['INTincScript'][$substKey] = array (
-                       'file' => $conf['includeLibs'],
+                       'file' => $includeLibs,
                        'conf' => $conf,
                        'cObj' => serialize($this->cObj),
                        'type' => 'FUNC'