Commit a59a013
committed
[BUGFIX] Avoid array access warning in cleanup:missingrelations CLI
Use null coalescing operator to sanitize some
array accesses. In TYPO3 v12, this code is
within class ReferenceIndex.
Resolves: #104812
Releases: main, 13.4, 12.4
Change-Id: Iced99a855d6eccfc01747827a2b6913ff92e1b61
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/87150
Reviewed-by: Andreas Kienast <akienast@scripting-base.de>
Tested-by: Simon Praetorius <simon@praetorius.me>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Andreas Nedbal <andy@pixelde.su>
Reviewed-by: Simon Praetorius <simon@praetorius.me>
Tested-by: Andreas Nedbal <andy@pixelde.su>1 parent f73bae6 commit a59a013
File tree
1 file changed
+8
-3
lines changed- typo3/sysext/lowlevel/Classes/Command
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
508 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
509 | 512 | | |
510 | 513 | | |
511 | | - | |
| 514 | + | |
512 | 515 | | |
513 | 516 | | |
514 | 517 | | |
| |||
525 | 528 | | |
526 | 529 | | |
527 | 530 | | |
528 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
| |||
0 commit comments