diff --git a/typo3/sysext/frontend/Classes/Http/RequestHandler.php b/typo3/sysext/frontend/Classes/Http/RequestHandler.php index f103cd2cb43b17869dfe7d4a2962fa18c6a85d85..7dd8d4703d546cbec9bcf4b8975fb733d5f1efd3 100644 --- a/typo3/sysext/frontend/Classes/Http/RequestHandler.php +++ b/typo3/sysext/frontend/Classes/Http/RequestHandler.php @@ -458,7 +458,7 @@ class RequestHandler implements RequestHandlerInterface $cssFileConfig['alternate'] ? 'alternate stylesheet' : 'stylesheet', $cssFileConfig['media'] ?: 'all', $cssFileConfig['title'] ?: '', - $cssFileConfig['external'] ? false : empty($cssFileConfig['disableCompression']), + $cssFileConfig['external'] || (bool)$cssFileConfig['inline'] ? false : empty($cssFileConfig['disableCompression']), (bool)$cssFileConfig['forceOnTop'], $cssFileConfig['allWrap'], (bool)$cssFileConfig['excludeFromConcatenation'] || (bool)$cssFileConfig['inline'], @@ -501,7 +501,7 @@ class RequestHandler implements RequestHandlerInterface $cssFileConfig['alternate'] ? 'alternate stylesheet' : 'stylesheet', $cssFileConfig['media'] ?: 'all', $cssFileConfig['title'] ?: '', - $cssFileConfig['external'] ? false : empty($cssFileConfig['disableCompression']), + $cssFileConfig['external'] || (bool)$cssFileConfig['inline'] ? false : empty($cssFileConfig['disableCompression']), (bool)$cssFileConfig['forceOnTop'], $cssFileConfig['allWrap'], (bool)$cssFileConfig['excludeFromConcatenation'] || (bool)$cssFileConfig['inline'],