summaryrefslogtreecommitdiff
path: root/app/Report/ReportPdfFootnote.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Report/ReportPdfFootnote.php')
-rw-r--r--app/Report/ReportPdfFootnote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/ReportPdfFootnote.php b/app/Report/ReportPdfFootnote.php
index bc95521231..09c4c97797 100644
--- a/app/Report/ReportPdfFootnote.php
+++ b/app/Report/ReportPdfFootnote.php
@@ -124,11 +124,11 @@ class ReportPdfFootnote extends ReportBaseFootnote
if ($lw >= $wrapWidthRemaining || $lfct > 1) {
$newtext = '';
$lines = explode("\n", $this->numText);
- // Go throught the text line by line
+ // Go through the text line by line
foreach ($lines as $line) {
// Line width in points
$lw = ceil($renderer->tcpdf->GetStringWidth($line));
- // If the line has to be wraped
+ // If the line has to be wrapped
if ($lw >= $wrapWidthRemaining) {
$words = explode(' ', $line);
$addspace = count($words);