Merge branch 'second-header-bug' of github.com:basjan/PHPWord into develop

This commit is contained in:
Ivan Lanin 2014-05-05 09:03:13 +07:00
commit d11376e387
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ abstract class AbstractContainer extends AbstractElement
$docPart = $isCellTextrun ? $this->getDocPart() : $this->container;
$docPartId = $isCellTextrun ? $this->getDocPartId() : $this->sectionId;
$inHeaderFooter = ($docPart == 'header' || $docPart == 'footer');
$docPartId = $inHeaderFooter ? $this->getDocPartId() : $docPartId;
return $inHeaderFooter ? $docPart . $docPartId : $docPart;
}