File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ v0.16.0 (xx xxx 2018)
10
10
### Fixed
11
11
- Fix regex in ` cloneBlock ` function @nicoder #1269
12
12
- HTML Title Writer loses text when Title contains a TextRun instead a string. @begnini #1436
13
+ - Fix loading of Sharepoint document @Garrcomm #1498
13
14
- RTF writer: Round getPageSizeW and getPageSizeH to avoid decimals @Patrick64 #1493
14
15
- Fix parsing of Office 365 documents @Timanx #1485
15
16
Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ public function load($docFile)
62
62
foreach ($ steps as $ step ) {
63
63
$ stepPart = $ step ['stepPart ' ];
64
64
$ stepItems = $ step ['stepItems ' ];
65
+ if (!isset ($ relationships [$ stepPart ])) {
66
+ continue ;
67
+ }
65
68
foreach ($ relationships [$ stepPart ] as $ relItem ) {
66
69
$ relType = $ relItem ['type ' ];
67
70
if (isset ($ stepItems [$ relType ])) {
You can’t perform that action at this time.
0 commit comments