Commit eafb02ee authored by Susanne Moog's avatar Susanne Moog Committed by Benni Mack
Browse files

[BUGFIX] Do not use deprecated $R_URI

Resolves: #84649
Releases: master
Change-Id: I98ec184e4b2d15d04515ba121babb470ac832882
Reviewed-on: https://review.typo3.org/56606

Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 5a12dc5f
......@@ -56,7 +56,7 @@ class ContentCreationPagePositionMap extends PagePositionMap
'edit[tt_content][' . (is_array($row) ? -$row['uid'] : $pid) . ']' => 'new',
'defVals[tt_content][colPos]' => $vv,
'defVals[tt_content][sys_language_uid]' => $sys_lang,
'returnUrl' => $GLOBALS['SOBE']->R_URI
'returnUrl' => GeneralUtility::_GP('returnUrl')
]);
return $this->clientContext . '.location.href=' . GeneralUtility::quoteJSvalue($location) . '+document.editForm.defValues.value; return false;';
}
......
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