[BUGFIX] Allow typesList=0 when using makeCategorizable 64/48364/6
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 28 May 2016 15:41:50 +0000 (17:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 29 May 2016 12:31:13 +0000 (14:31 +0200)
commitd3a4f4a7697a4b033c9837e788e86ca15666c26f
tree4968d42153668845edb3bb6b875101ffda51b7e1
parentc16e541aee6cfbc5a7b8d15c0534ab1ce73a692c
[BUGFIX] Allow typesList=0 when using makeCategorizable

Due to a wrong condition which is using !empty() typesList=0 is not possible.
Change the condition to check this the correct way.

Resolves: #76141
Releases: master, 7.6
Change-Id: Ieca9bd2a59e42d112c4eb8058bd76da8d73b86ab
Reviewed-on: https://review.typo3.org/48364
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Category/CategoryRegistry.php
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php