|
|
@@ -64,7 +64,7 @@ class CObjectViewHelper extends \TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper {
|
|
|
$typoscriptObjectPath = $arguments['typoscriptObjectPath'];
|
|
|
$currentValueKey = $arguments['currentValueKey'];
|
|
|
$table = $arguments['table'];
|
|
|
- $contentObjectRenderer = static::getContentObjectRenderer();
|
|
|
+ $contentObjectRenderer = static::getContentObjectRenderer($renderingContext->getRequest());
|
|
|
if (!isset($GLOBALS['TSFE']) || !($GLOBALS['TSFE'] instanceof TypoScriptFrontendController)) {
|
|
|
static::simulateFrontendEnvironment();
|
|
|
}
|