Follow-up to #16408: Support for Custom Navigation Components: removed warning
authorSteffen Kamper <info@sk-typo3.de>
Tue, 16 Nov 2010 16:12:41 +0000 (16:12 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 16 Nov 2010 16:12:41 +0000 (16:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9403 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index fb7cabe..eb6b55b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,7 @@
 
 2010-11-16  Steffen Kamper  <steffen@typo3.org>
 
+       * Follow-up to #16408: Support for Custom Navigation Components: removed warning
        * Follow-up to #16315: New extension manager part 1: splitting classes: fixed many small issues
        * Added feature #16408: Support for Custom Navigation Components (Thanks to Stefan Galinski)
        * Added feature #16396: Implement a Grid View + wizard to enable the backend layout to be adapted to the frontend look and feel (Thanks to Joey Hasenau, Martin Ficzel and Thomas Hempel)
index ced28e9..a317cae 100644 (file)
@@ -279,10 +279,14 @@ class TYPO3backend {
 
        /**
         * Loads the css and javascript files of all registered navigation widgets
-        * 
+        *
         * @return void
         */
        protected function loadResourcesForRegisteredNavigationComponents() {
+               if (!is_array($GLOBALS['TBE_MODULES']['_navigationComponents'])) {
+                       return;
+               }
+
                $loadedComponents = array();
                foreach ($GLOBALS['TBE_MODULES']['_navigationComponents'] as $module => $info) {
                        if (in_array($info['componentId'], $loadedComponents)) {