Skip to content

Commit c5d0f71

Browse files
authored
Merge pull request PHPOffice#1380 from WouterSioen/fix-get-ending-notes-calls
Fix calls to the getEndingNotes method in the samples
2 parents e6501eb + 90d4d30 commit c5d0f71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/Sample_07_TemplateCloneRow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
echo date('H:i:s'), ' Saving the result document...', EOL;
5757
$templateProcessor->saveAs('results/Sample_07_TemplateCloneRow.docx');
5858

59-
echo getEndingNotes(array('Word2007' => 'docx'));
59+
echo getEndingNotes(array('Word2007' => 'docx'), 'results/Sample_07_TemplateCloneRow.docx');
6060
if (!CLI) {
6161
include_once 'Sample_Footer.php';
6262
}

samples/Sample_23_TemplateBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
echo date('H:i:s'), ' Saving the result document...', EOL;
1515
$templateProcessor->saveAs('results/Sample_23_TemplateBlock.docx');
1616

17-
echo getEndingNotes(array('Word2007' => 'docx'));
17+
echo getEndingNotes(array('Word2007' => 'docx'), 'results/Sample_23_TemplateBlock.docx');
1818
if (!CLI) {
1919
include_once 'Sample_Footer.php';
2020
}

0 commit comments

Comments
 (0)