Skip to content

Commit 6dd51c5

Browse files
committed
Update changelog and add sample for bug fix #222
1 parent d11376e commit 6dd51c5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This release changed PHPWord license from LGPL 2.1 to LGPL 3.
1313

1414
### Bugfixes
1515

16-
- ...
16+
- Header: All images added to the second header were assigned to the first header - @basjan GH-222
1717

1818
### Deprecated
1919

samples/Sample_12_HeaderFooter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
// Add header for all other pages
2626
$subsequent = $section->addHeader();
2727
$subsequent->addText("Subsequent pages in Section 1 will Have this!");
28+
$subsequent->addImage('resources/_mars.jpg', array('width' => 80, 'height' => 80));
2829

2930
// Add footer
3031
$footer = $section->addFooter();

0 commit comments

Comments
 (0)