Merge pull request #1116 from ctrlaltca/fix_footer_first_page

Fix: different header/footer works only for headers, not for footers
This commit is contained in:
troosan 2017-08-13 22:10:15 +02:00 committed by GitHub
commit c653377b2e
1 changed files with 5 additions and 0 deletions

View File

@ -181,6 +181,11 @@ class Section extends AbstractContainer
return true;
}
}
foreach ($this->footers as $footer) {
if ($footer->getType() == Header::FIRST) {
return true;
}
}
return false;
}