summaryrefslogtreecommitdiff
path: root/app/Report/ReportHtmlCell.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Report/ReportHtmlCell.php')
-rw-r--r--app/Report/ReportHtmlCell.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportHtmlCell.php b/app/Report/ReportHtmlCell.php
index 6b5ceb4c08..29080167c1 100644
--- a/app/Report/ReportHtmlCell.php
+++ b/app/Report/ReportHtmlCell.php
@@ -34,7 +34,7 @@ class ReportHtmlCell extends ReportBaseCell
if (strpos($this->text, '{{:ptp:}}') !== false) {
return;
}
- $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([
'«',