diff --git a/Classes/Controller/BasketController.php b/Classes/Controller/BasketController.php index 2967abf98..f5d298cba 100644 --- a/Classes/Controller/BasketController.php +++ b/Classes/Controller/BasketController.php @@ -335,7 +335,7 @@ protected function getDocumentData($id, $data) $title = $document->getTitle($id, true); if (empty($title)) { - $title = LocalizationUtility::translate('basket.noTitle', 'dlf') ?: ''; + $title = LocalizationUtility::translate('basket.noTitle', 'dlf') ? : ''; } // Set page and cutout information diff --git a/Classes/Controller/FeedsController.php b/Classes/Controller/FeedsController.php index 8ed8b5cde..1303a1c2b 100644 --- a/Classes/Controller/FeedsController.php +++ b/Classes/Controller/FeedsController.php @@ -91,7 +91,7 @@ public function mainAction() } // Set default title if empty. if (empty($title)) { - $title = LocalizationUtility::translate('noTitle', 'dlf') ?: ''; + $title = LocalizationUtility::translate('noTitle', 'dlf') ? : ''; } // Append volume information. if (!empty($document->getVolume())) {