[BUGFIX] Fix selected node count in select tree 42/43342/2
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Tue, 15 Sep 2015 15:07:47 +0000 (17:07 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 15 Sep 2015 15:55:59 +0000 (17:55 +0200)
commit2f4303a326a54ea4b69be57487b28fb5eb1db00a
tree3bcff6057e97045c29555c56011817120c7c636a
parent9deb3d77b34d999c249a706558a8d1ac410df72b
[BUGFIX] Fix selected node count in select tree

If only one item can be selected in a select tree field (maxitems=1)
and the first selected value is empty is will be cleared from the
selected node array.

Resolves: #69836
Releases: master
Change-Id: Ic3b71a39f73638a7d8c46c7939d17260356437dd
Reviewed-on: http://review.typo3.org/43342
Reviewed-by: Oliver Thiele <mail@oliver-thiele.de>
Tested-by: Oliver Thiele <mail@oliver-thiele.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Form/Element/SelectTreeElement.php