Commit 757de5f
authored
Fix empty
Sometimes layout assigments come empty like this `<layoutAssignments><!-- 1 children --></layoutAssignments>`.
We need to check if the `recordType` element exists before accessing it.layoutAssignments
1 parent b2ddbe8 commit 757de5f
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| |||
0 commit comments