Commit 6db43aa0 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[BUGFIX] Fix application type check in CategoryPermissionsAspect

Resolves: #94678
Related: #92953
Releases: master
Change-Id: I33073717590a8561c9c5cfe4a1d76bfc627ff949

Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
parent 0d2cd6c2
......@@ -61,7 +61,7 @@ final class CategoryPermissionsAspect
// Only evaluate this in the backend
if (!($GLOBALS['TYPO3_REQUEST'] ?? null) instanceof ServerRequestInterface
|| ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend()
|| !ApplicationType::fromRequest($GLOBALS['TYPO3_REQUEST'])->isBackend()
) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment