[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController 35/50035/3
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 28 Sep 2016 06:44:38 +0000 (08:44 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 28 Sep 2016 12:46:29 +0000 (14:46 +0200)
commit22613876703fb2ff7c8b926dafdea9035bdae293
tree70bd72b19ffd19240935fd4ce3e37c482b7892e1
parent7be5ced3866b36b352a950da3eaf8db2784b370c
[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController

If the rootLevel is set to true, it should behave like 1 and the record
is only available at the root page.

Resolves: #78085
Releases: master, 7.6
Change-Id: Iefcc7ce8b16a04fa288ab23c9116b8181de113a8
Reviewed-on: https://review.typo3.org/50035
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Robert van Kammen <rvkammen@hotmail.com>
Tested-by: Robert van Kammen <rvkammen@hotmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/NewRecordController.php