summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlText.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-10-06 19:17:01 +0100
committerGreg Roach <fisharebest@webtrees.net>2018-10-06 21:08:30 +0100
commit8a4ee39c672840ee75fccd3fa23578043bf2590c (patch)
treeecac1d4efd4d762c398aed196c488923b4c6927f /app/Report/ReportHtmlText.php
parente33d66762436a8bb1ed10d6d6d0f23bb8f2f0fe3 (diff)
downloadwebtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.tar.gz
webtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.tar.bz2
webtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.zip
PHPdoc
Diffstat (limited to 'app/Report/ReportHtmlText.php')
-rw-r--r--app/Report/ReportHtmlText.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportHtmlText.php b/app/Report/ReportHtmlText.php
index f82aed00a3..f4d58efd62 100644
--- a/app/Report/ReportHtmlText.php
+++ b/app/Report/ReportHtmlText.php
@@ -38,7 +38,7 @@ class ReportHtmlText extends ReportBaseText
if ($renderer->getCurrentStyle() != $this->styleName) {
$renderer->setCurrentStyle($this->styleName);
}
- $temptext = str_replace('#PAGENUM#', $renderer->pageNo(), $this->text);
+ $temptext = str_replace('#PAGENUM#', (string) $renderer->pageNo(), $this->text);
// underline «title» part of Source item
$temptext = str_replace([
'«',