Skip to content
Snippets Groups Projects
Commit 2b22df34 authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Fix php8 array key in Scheduler Migration

parent aab959cb
No related branches found
No related tags found
1 merge request!38Feature upgrade to typo3 11
......@@ -79,7 +79,7 @@ class MigrateSchedulerTasks implements UpgradeWizardInterface {
foreach ($tasks as $_task) {
$task = unserialize($_task['serialized_task_object'], [\__PHP_Incomplete_Class::class]);
$taskVars = $this->cleanArrayKeys((array)$task);
$identifier = $taskVars['*commandIdentifier'];
$identifier = $taskVars['*commandIdentifier'] ?? '';
if (
$identifier === 'sg_news:migratenews:runmigratenews'
) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment