diff --git a/vendor/phpoffice/phpword/src/PhpWord/TemplateProcessor.php b/vendor/phpoffice/phpword/src/PhpWord/TemplateProcessor.php index 8461a52..611fcc3 100755 --- a/vendor/phpoffice/phpword/src/PhpWord/TemplateProcessor.php +++ b/vendor/phpoffice/phpword/src/PhpWord/TemplateProcessor.php @@ -1330,7 +1330,7 @@ class TemplateProcessor - if($this->_rels=="") + if(!isset($this->_rels) || (isset($this->_rels) && $this->_rels=="")) { $this->_rels=$this->zipClass->getFromName('word/_rels/document.xml.rels'); $this->_types=$this->zipClass->getFromName('[Content_Types].xml');