Project

General

Profile

Actions

Bug #97127

closed

PHP Warning: Trying to access array offset on value of type bool in

Added by Simon Vincent Ackermann over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-03-07
Due date:
% Done:

100%

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

Description

In sysext/backend/Classes/ContextMenu/ContextMenu.php a warning is triggered.

This happens because when the cleanItems method is called with an empty array it will throw a warning because of line 117 and 122 that will return false on an empty array.

Actions

Also available in: Atom PDF