[BUGFIX] Fix loose type check in BackendUserAuthentication
empty() returns true if a record contains 0 as value. Therefore isset() needs to be used instead. The corresponding fix that was introduced with #91145 to workaround this flaw is removed again. Resolves: #95972 Related: #91145 Releases: master, 10.4 Change-Id: Idfea91b84d8391d680900966f57b406c28a616ce Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72170 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Benjamin Franzke <bfr@qbus.de>
Showing
- typo3/sysext/backend/Classes/Controller/Page/TreeController.php 0 additions, 3 deletions...sysext/backend/Classes/Controller/Page/TreeController.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 1 addition, 1 deletion...core/Classes/Authentication/BackendUserAuthentication.php
Please register or sign in to comment