[BUGFIX] Do not save expand state for root node in TCA tree
authorChristoph Gerold <christoph.gerold@dkd.de>
Sun, 2 Sep 2012 10:46:06 +0000 (12:46 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 30 Sep 2012 12:48:18 +0000 (14:48 +0200)
commitc9558789f7c7527d4a3e616c31e9c57b4d1ab3d6
tree34431e85b60110c37125509b90ae8bed0ac0bac4
parent862134c1aba33efde5474198869d2b944b39e225
[BUGFIX] Do not save expand state for root node in TCA tree

To avoid a PHP warning: Missing argument for
BackendUserSettings::addToList() the expanded state must
not be saved for the tree root node which does not
have a uid property.

Change-Id: Id6d16525cd68e4ec13f36c8d95d2ecc0cc1bc794
Resolves: #31978
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/15168
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Form/Element/TreeElement.php