Actions
Bug #98387
closedPHP Warning: Undefined array key "XYZ" in File line 184
Start date:
2022-09-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Update none existing properties of a file.
There is a missing check if key exists.
foreach ($properties as $key => $value) { if ($this->properties[$key] !== $value) { if (!in_array($key, $this->updatedProperties)) { $this->updatedProperties[] = $key; } $this->properties[$key] = $value; } }
Actions