Project

General

Profile

Actions

Bug #88092

closed

PageLayoutView::getLocalizedPageTitle() has wrong null coalesce usage in condition

Added by Andreas Kienast over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-04-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

PageLayoutView::getLocalizedPageTitle() has the condition $this->tt_contentConfig['sys_language_uid'] ?? 0 > 0 which is wrong and basically evaluates to isset($this->tt_contentConfig['sys_language_uid']) ? $this->tt_contentConfig['sys_language_uid'] || 0 > 0


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #84375: Use ServerRequestInterface in PageLayoutControllerClosed2018-03-16

Actions
Actions

Also available in: Atom PDF