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)
1010### Fixed
1111- Fix regex in ` cloneBlock ` function @nicoder #1269
1212- HTML Title Writer loses text when Title contains a TextRun instead a string. @begnini #1436
13+ - Fix loading of Sharepoint document @Garrcomm #1498
1314- RTF writer: Round getPageSizeW and getPageSizeH to avoid decimals @Patrick64 #1493
1415- Fix parsing of Office 365 documents @Timanx #1485
1516
Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ public function load($docFile)
6262 foreach ($ steps as $ step ) {
6363 $ stepPart = $ step ['stepPart ' ];
6464 $ stepItems = $ step ['stepItems ' ];
65+ if (!isset ($ relationships [$ stepPart ])) {
66+ continue ;
67+ }
6568 foreach ($ relationships [$ stepPart ] as $ relItem ) {
6669 $ relType = $ relItem ['type ' ];
6770 if (isset ($ stepItems [$ relType ])) {
You can’t perform that action at this time.
0 commit comments