Project

General

Profile

Actions

Bug #93275

closed

Custom backend loginLogo – without an explicit loginLogoAlt settings – causes TypeError

Added by Benjamin Franzke almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2021-01-12
Due date:
% Done:

100%

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

Description

in […]/typo3/sysext/backend/Classes/Controller/LoginController.php line 412

(1/1) TypeError
trim() expects parameter 1 to be string, null given
  $logoAlt = trim($extConf['loginLogoAlt']);

The issue is that the loginLogoAlt index is accessed without checking availability.
Threfore a null coalescing operator should be added.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #92628: Linked TYPO3-Logo has no discernible textClosed2020-10-21

Actions
Actions

Also available in: Atom PDF