FIX - When setComplexValue is not found
This commit is contained in:
parent
ec1b3d35ee
commit
aa7c1d0fe8
|
|
@ -274,6 +274,11 @@ class TemplateProcessor
|
|||
$elementWriter->write();
|
||||
|
||||
$where = $this->findContainingXmlBlockForMacro($search, 'w:r');
|
||||
|
||||
if($where === false) {
|
||||
return ;
|
||||
}
|
||||
|
||||
$block = $this->getSlice($where['start'], $where['end']);
|
||||
$textParts = $this->splitTextIntoTexts($block);
|
||||
$this->replaceXmlBlock($search, $textParts, 'w:r');
|
||||
|
|
|
|||
Loading…
Reference in New Issue