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
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2019-03-20 12:39:24 +0300
committerGitHub <noreply@github.com>2019-03-20 12:39:24 +0300
commit2ec7485470701ef5f11521d6bbe62d583e25cddf (patch)
treee5b1e65fdf26ee8708ef79e57a645d017e21a3ba /core/Date.php
parentb5d2fc69224c54531d3a558a3bfdafc19ba1b2d6 (diff)
use mb_substr wrapper method (#14231)
Diffstat (limited to 'core/Date.php')
-rw-r--r--core/Date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Date.php b/core/Date.php
index e43aaeef1c..ec2a4dfd06 100644
--- a/core/Date.php
+++ b/core/Date.php
@@ -744,7 +744,7 @@ class Date
}
if ($ucfirst) {
- $out = Common::mb_strtoupper(mb_substr($out, 0, 1)) . mb_substr($out, 1);
+ $out = Common::mb_strtoupper(Common::mb_substr($out, 0, 1)) . Common::mb_substr($out, 1);
}
return $out;