Follow-up to feature #9901: Fixed ChangeLog, check for stdWrap configuration
authorOliver Hader <oliver.hader@typo3.org>
Mon, 29 Dec 2008 14:36:24 +0000 (14:36 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 29 Dec 2008 14:36:24 +0000 (14:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4627 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index d8fea08..5c21925 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2008-12-29  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #10022: Pagecontent/Hidden has no effect
-       * Fixed bug #9901: Enable stdWrap for expAll
+       * Added feature #9901: Enable stdWrap for expAll
 
 2008-12-29  Oliver Hader  <oliver@typo3.org>
 
index 503e918..aca630f 100755 (executable)
@@ -1300,7 +1300,9 @@ class tslib_menu {
                $subLevelClass = ($cls && t3lib_div::inList($this->tmpl->menuclasses,$cls)) ? $cls : '';
 
                        // stdWrap for expAll
-               $this->mconf['expAll'] = $this->parent_cObj->stdWrap($this->mconf['expAll'], $this->mconf['expAll.']);
+               if (isset($this->mconf['expAll.'])) {
+                       $this->mconf['expAll'] = $this->parent_cObj->stdWrap($this->mconf['expAll'], $this->mconf['expAll.']);
+               }
 
                if ($subLevelClass && ($this->mconf['expAll'] || $this->isNext($uid, $this->getMPvar($this->I['key'])) || is_array($altArray)) && !$this->mconf['sectionIndex'])        {
                        $submenu = t3lib_div::makeInstance('tslib_'.$subLevelClass);