Commit 2f082566 authored by Daniel Siepmann's avatar Daniel Siepmann Committed by Christian Kuhn
Browse files

[BUGFIX] Prevent undefined array key in ProcessedFile

Resolves: #98412
Releases: main, 11.5
Change-Id: Idcb0a18ece3162940e0c883d41f0f2f9e1a740bd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75844


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
Reviewed-by: Oliver Klee's avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c40ba4a2
......@@ -488,7 +488,7 @@ class ProcessedFile extends AbstractFile
if ($this->isUnchanged() && $key !== 'uid') {
return $this->originalFile->getProperty($key);
}
return $this->properties[$key];
return $this->properties[$key] ?? null;
}
/**
......
Supports Markdown
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