[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:45 +0000 (14:48 +0200)
commit6139eaf834b23945635d882380040857f059b2e2
treee10b74b68a79d1703a423cba3fa83040ccb3d687
parent6363cf9f584808bc950e7bce7751f3bbbdd3aac3
[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/15171
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
t3lib/tceforms/class.t3lib_tceforms_tree.php