Follow-up to feature #9654: Integrate return value depending on a found includeLibs...
authorOliver Hader <oliver.hader@typo3.org>
Wed, 12 Nov 2008 10:00:52 +0000 (10:00 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Wed, 12 Nov 2008 10:00:52 +0000 (10:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4454 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index d2ec607..feaa4ac 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-12  Oliver Hader  <oliver@typo3.org>
+
+       * Follow-up to feature #9654: Integrate return value depending on a found includeLibs configuration
+
 2008-11-11  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #5714: Pagecount not correct in indexed_search
index e00d450..e5a4047 100755 (executable)
@@ -6382,13 +6382,15 @@ class tslib_cObj {
         * Includes resources if the config property 'includeLibs' is set.
         *
         * @param       array           $config: TypoScript configuration
-        * @return      void
+        * @return      boolean         Whether a configuration for including libs was found and processed
         */
        protected function includeLibs(array $config) {
                if (isset($config['includeLibs']) && $config['includeLibs']) {
                        $libraries = t3lib_div::trimExplode(',', $config['includeLibs'], true);
                        $GLOBALS['TSFE']->includeLibraries($libraries);
+                       return true;
                }
+               return false;
        }