From 1a0dd179ed9323c8ec95e8861fe563dfa5979acc Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Mon, 18 May 2009 08:04:05 +0000 Subject: [PATCH] Fixed bug #11111 / Follow-up to #10892: Root item cannot be collapsed in pagetree (Thanks to Andreas Wolf) git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5431 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 1 + typo3/class.webpagetree.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed0ccdfb9177..a80ed93f0516 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2009-05-18 Benjamin Mack + * Fixed bug #11111 / Follow-up to #10892: Root item cannot be collapsed in pagetree (Thanks to Andreas Wolf) * Fixed bug #11112 / Follow-up to #10892: Collapsing nodes in pagetree produces multiple items with same id (Thanks to Andreas Wolf) 2009-05-16 Francois Suter diff --git a/typo3/class.webpagetree.php b/typo3/class.webpagetree.php index 04142468634e..b401205a8d99 100644 --- a/typo3/class.webpagetree.php +++ b/typo3/class.webpagetree.php @@ -352,7 +352,7 @@ class webPageTree extends t3lib_browseTree { // Set PM icon for root of mount: $cmd = $this->bank.'_'.($isOpen? "0_" : "1_").$uid.'_'.$this->treeName; $icon='backPath,'gfx/ol/'.($isOpen?'minus':'plus').'only.gif').' alt="" />'; - $firstHtml = $this->PMiconATagWrap($icon,$cmd); + $firstHtml = $this->PMiconATagWrap($icon,$cmd,!$isOpen); // Preparing rootRec for the mount if ($uid) { -- 2.20.1