[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:36 +0000 (14:48 +0200)
commit006dc6afd42fba2a068423020c7d601bc2f0ee93
tree14583980711dada78d41c1f6d1b10a00a4e604df
parent9a1dcbba6d3859a0a7296b39c13fa939d3010ad3
[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/15170
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
t3lib/tceforms/class.t3lib_tceforms_tree.php