Commit 57f4545d authored by Jens Jacobsen's avatar Jens Jacobsen
Browse files

Fix usage of stdClass class

parent d47c6c78
Pipeline #953 passed with stages
in 3 minutes and 12 seconds
......@@ -84,7 +84,7 @@ class TypoScript
self::$frontend = (!empty($GLOBALS['TSFE']) ? $GLOBALS['TSFE'] : NULL);
// Create new frontend instance
$GLOBALS['TSFE'] = new stdClass();
$GLOBALS['TSFE'] = new \stdClass();
$GLOBALS['TSFE']->cObjectDepthCounter = 100;
$GLOBALS['TSFE']->cObj = (!empty($cObj) ? $cObj : \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class));
......
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