We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cafb84 commit e5d8d4fCopy full SHA for e5d8d4f
1 file changed
Classes/Service/AssetService.php
@@ -878,7 +878,7 @@ protected function readCacheDisabledInstructionFromContext(): bool
878
$typoScriptFrontendController = $GLOBALS['TSFE'];
879
880
return $hasDisabledInstructionInRequest
881
- || $typoScriptFrontendController->no_cache
+ || (property_exists($typoScriptFrontendController, 'no_cache') && $typoScriptFrontendController->no_cache)
882
|| (
883
is_array($typoScriptFrontendController->page)
884
&& ($typoScriptFrontendController->page['no_cache'] ?? false)
0 commit comments