[BUGFIX] Simplify if in typolink 85/59685/2
authorStefan Froemken <froemken@gmail.com>
Tue, 12 Feb 2019 15:29:20 +0000 (16:29 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 12 Feb 2019 15:56:41 +0000 (16:56 +0100)
Resolves: #87696
Releases: master
Change-Id: I50eb442bc2130ed5a0741ea3f71558257535ff89
Reviewed-on: https://review.typo3.org/59685
Reviewed-by: Pascal Rinker <info@crynton.com>
Tested-by: Pascal Rinker <info@crynton.com>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php

index 371126a..807a3ed 100644 (file)
@@ -4978,7 +4978,7 @@ class ContentObjectRenderer implements LoggerAwareInterface
         $tsfe = $this->getTypoScriptFrontendController();
 
         $linkParameter = trim(
-            (isset($conf['parameter.']) ?? '')
+            (isset($conf['parameter.']))
             ? $this->stdWrap($conf['parameter'] ?? '', $conf['parameter.'])
             : ($conf['parameter'] ?? '')
         );