Commit df25655
[BUGFIX] Prevent undefined array key in PageRepository
Since `->getPage()` might return an empty array, we
need to check this properly on parent page evaluation.
Resolves: #108351
Related: #17406
Releases: main
Change-Id: Ib78be6f1107b809e291d69fbb744b6be44d843db
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/91918
Tested-by: Lina Wolf <[email protected]>
Tested-by: Stefan Bürk <[email protected]>
Reviewed-by: Lina Wolf <[email protected]>
Reviewed-by: Oliver Klee <[email protected]>
Reviewed-by: Stefan Bürk <[email protected]>
Tested-by: core-ci <[email protected]>1 parent 848ff37 commit df25655
File tree
1 file changed
+3
-4
lines changed- typo3/sysext/core/Classes/Domain/Repository
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
1136 | | - | |
1137 | | - | |
| 1136 | + | |
1138 | 1137 | | |
1139 | 1138 | | |
1140 | 1139 | | |
1141 | 1140 | | |
1142 | 1141 | | |
1143 | | - | |
| 1142 | + | |
1144 | 1143 | | |
1145 | 1144 | | |
1146 | 1145 | | |
| |||
1152 | 1151 | | |
1153 | 1152 | | |
1154 | 1153 | | |
1155 | | - | |
| 1154 | + | |
1156 | 1155 | | |
1157 | 1156 | | |
1158 | 1157 | | |
| |||
0 commit comments