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:
commit
c653377b2e
|
|
@ -181,6 +181,11 @@ class Section extends AbstractContainer
|
|||
return true;
|
||||
}
|
||||
}
|
||||
foreach ($this->footers as $footer) {
|
||||
if ($footer->getType() == Header::FIRST) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue