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

[TASK] Fix another array key issue

parent 2b22df34
No related branches found
No related tags found
1 merge request!38Feature upgrade to typo3 11
......@@ -135,7 +135,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