Skip to content
Snippets Groups Projects
Commit 1a28131e authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[BUGFIX] Fix array access warning in SystemStatusUpdateTask

When this task is executed on CLI (scheduler), the global request variable
is not available, thus a null check must be added before checking the instance
of the value.

Releases: 10.4, 11.5, main
Resolves: #99464
Change-Id: Ie9c1b8e4fbc187d6ade569b1b152ce799a09a1f0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77260


Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarHelmut Hummel <typo3@helhum.io>
Reviewed-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Tested-by: default avatarTorben Hansen <derhansen@gmail.com>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarHelmut Hummel <typo3@helhum.io>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
parent e29e6ed1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment