[TASK] Deprecate $disable Option in PageRepository->getExtURL
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index b67f383..274d92b 100644 (file)
@@ -2803,7 +2803,7 @@ class TypoScriptFrontendController {
         * @return void
         */
        public function setExternalJumpUrl() {
-               if ($extUrl = $this->sys_page->getExtURL($this->page, $this->config['config']['disablePageExternalUrl'])) {
+               if ((bool)$this->config['config']['disablePageExternalUrl'] === FALSE && $extUrl = $this->sys_page->getExtURL($this->page)) {
                        $this->jumpurl = $extUrl;
                        GeneralUtility::_GETset(GeneralUtility::hmac($this->jumpurl, 'jumpurl'), 'juHash');
                }