Skip to content

Commit

Permalink
Compoatibility Fix for TYPO3 8.7
Browse files Browse the repository at this point in the history
Runs for me, I'm using accordion only
  • Loading branch information
Gregor Agnes authored Jan 25, 2018
1 parent cc73a37 commit 483adba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class.tx_jfmulticontent_pagerenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function setConf($conf)
public function addResources()
{
/** @var \TYPO3\CMS\Core\Page\PageRenderer $pagerender */
$pagerender = $GLOBALS['TSFE']->getPageRenderer();
$pagerender = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Page\PageRenderer::class);
// Fix moveJsFromHeaderToFooter (add all scripts to the footer)
if ($GLOBALS['TSFE']->config['config']['moveJsFromHeaderToFooter']) {
$allJsInFooter = true;
Expand Down

0 comments on commit 483adba

Please sign in to comment.