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:
Diffstat (limited to 'plugins/API/Controller.php')
-rw-r--r--plugins/API/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php
index 2fb196d291..8fc0d66806 100644
--- a/plugins/API/Controller.php
+++ b/plugins/API/Controller.php
@@ -195,7 +195,7 @@ class Controller extends \Piwik\Plugin\Controller
$item['letters'] = array();
foreach ($item['entries'] as &$entry) {
$cleanEntryName = preg_replace('/["\']/', '', $entry['name']);
- $entry['letter'] = Common::mb_strtoupper(substr($cleanEntryName, 0, 1));
+ $entry['letter'] = mb_strtoupper(substr($cleanEntryName, 0, 1));
$item['letters'][] = $entry['letter'];
}