diff options
author | Stefan Giehl <stefan@matomo.org> | 2019-03-20 12:39:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 12:39:24 +0300 |
commit | 2ec7485470701ef5f11521d6bbe62d583e25cddf (patch) | |
tree | e5b1e65fdf26ee8708ef79e57a645d017e21a3ba /core/Date.php | |
parent | b5d2fc69224c54531d3a558a3bfdafc19ba1b2d6 (diff) |
use mb_substr wrapper method (#14231)
Diffstat (limited to 'core/Date.php')
-rw-r--r-- | core/Date.php | 2 |
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; |