[BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController 55/50055/2
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:46 +0000 (14:46 +0200)
commit7d0b3eba98be965c3fe2afb77940adee14708c00
treec8a4fc08dde1b11e5ef2a0ac8eb8e4715dbeed8d
parent8f40210634901033a310e5e768b1973a2499bf6a
[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/50055
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/NewRecordController.php