diff --git a/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php b/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php index bb221ac1da5caf1ed87c4df3187b44b745b97d42..0c97f6ebf26558c788a06f8242f55e5bca41cc13 100644 --- a/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php +++ b/typo3/sysext/rte_ckeditor/Classes/Controller/BrowseLinksController.php @@ -440,7 +440,7 @@ class BrowseLinksController extends AbstractLinkBrowserController if ($this->linkAttributeValues['title']) { $title = $this->linkAttributeValues['title']; } else { - $title = !$this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId] ? '' : $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId]; + $title = $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId] ?: ''; } if (isset($this->buttonConfig[$this->displayedLinkHandlerId . '.']['properties.']['title.']['readOnly'])) { $readOnly = (bool)$this->buttonConfig[$this->displayedLinkHandlerId . '.']['properties.']['title.']['readOnly']; diff --git a/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php b/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php index e3d573a67fc646134122108c94ad4ccb920c77ef..3d5a2de82ba5259cb592135b777d20500ef06081 100644 --- a/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php +++ b/typo3/sysext/rtehtmlarea/Classes/Controller/BrowseLinksController.php @@ -496,7 +496,7 @@ class BrowseLinksController extends AbstractLinkBrowserController if ($this->linkAttributeValues['title']) { $title = $this->linkAttributeValues['title']; } else { - $title = !$this->classesAnchorDefault[$this->displayedLinkHandlerId] ? '' : $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId]; + $title = $this->classesAnchorDefaultTitle[$this->displayedLinkHandlerId] ?: ''; } if (isset($this->buttonConfig[$this->displayedLinkHandlerId . '.']['properties.']['title.']['readOnly'])) { $readOnly = (bool)$this->buttonConfig[$this->displayedLinkHandlerId . '.']['properties.']['title.']['readOnly'];