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 ce85cc5 commit 11b3941Copy full SHA for 11b3941
src/PhpWord/Element/AbstractContainer.php
@@ -355,7 +355,7 @@ private function checkElementDocPart()
355
$docPart = $isCellTextrun ? $this->getDocPart() : $this->container;
356
$docPartId = $isCellTextrun ? $this->getDocPartId() : $this->sectionId;
357
$inHeaderFooter = ($docPart == 'header' || $docPart == 'footer');
358
-
+ $docPartId = $inHeaderFooter ? $this->getDocPartId() : $docPartId;
359
return $inHeaderFooter ? $docPart . $docPartId : $docPart;
360
}
361
0 commit comments