Merge branch 'second-header-bug' of github.com:basjan/PHPWord into develop
This commit is contained in:
commit
d11376e387
@ -355,7 +355,7 @@ abstract class AbstractContainer extends AbstractElement
|
|||||||
$docPart = $isCellTextrun ? $this->getDocPart() : $this->container;
|
$docPart = $isCellTextrun ? $this->getDocPart() : $this->container;
|
||||||
$docPartId = $isCellTextrun ? $this->getDocPartId() : $this->sectionId;
|
$docPartId = $isCellTextrun ? $this->getDocPartId() : $this->sectionId;
|
||||||
$inHeaderFooter = ($docPart == 'header' || $docPart == 'footer');
|
$inHeaderFooter = ($docPart == 'header' || $docPart == 'footer');
|
||||||
|
$docPartId = $inHeaderFooter ? $this->getDocPartId() : $docPartId;
|
||||||
return $inHeaderFooter ? $docPart . $docPartId : $docPart;
|
return $inHeaderFooter ? $docPart . $docPartId : $docPart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user