Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorsgiehl <stefan@matomo.org>2022-01-31 17:32:53 +0300
committersgiehl <stefan@matomo.org>2022-01-31 17:32:53 +0300
commit881a1a49377112ecd0a3333c1034541120e63d91 (patch)
tree0432c965239e97ef3b5438605c753527161d8298 /core
parent763379900026d62ef54f853ee5ca3ca233aab92e (diff)
parent533a243ac58f3bf7ab3bad1d28f11e6839752ecd (diff)
Merge branch 'next_release' into 4.x-dev
Diffstat (limited to 'core')
-rw-r--r--core/ReportRenderer/Pdf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php
index ec72979ddb..d7ac33c9fb 100644
--- a/core/ReportRenderer/Pdf.php
+++ b/core/ReportRenderer/Pdf.php
@@ -377,7 +377,7 @@ class Pdf extends ReportRenderer
$posX = $this->TCPDF->GetX();
$posY = $this->TCPDF->GetY();
if (isset($rowMetrics[$columnId])) {
- $text = substr($rowMetrics[$columnId], 0, $this->truncateAfter);
+ $text = mb_substr($rowMetrics[$columnId], 0, $this->truncateAfter);
if ($isLogoDisplayable) {
$text = $leftSpacesBeforeLogo . $text;
}