We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15dcb38 commit 1a544cbCopy full SHA for 1a544cb
src/PhpWord/Element/AbstractContainer.php
@@ -412,6 +412,7 @@ private function checkElementDocPart()
412
$docPart = $isCellTextrun ? $this->getDocPart() : $this->container;
413
$docPartId = $isCellTextrun ? $this->getDocPartId() : $this->sectionId;
414
$inHeaderFooter = ($docPart == 'header' || $docPart == 'footer');
415
+ $docPartId = $inHeaderFooter ? $this->getDocPartId() : $docPartId;
416
return $inHeaderFooter ? $docPart . $docPartId : $docPart;
417
}
418
0 commit comments