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:
authorLukas Winkler <git@lw1.at>2019-08-14 03:20:51 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-08-14 03:20:51 +0300
commitbe969b85d75ccf551762c340732157a835ed43fb (patch)
tree05aeaecd4a0fe53e434362615738090f80829a16 /plugins/DevicesDetection/functions.php
parent5f96a27e860de0da9cc86db8736e08a9573fbec8 (diff)
update matomo-icons (#14765)
Diffstat (limited to 'plugins/DevicesDetection/functions.php')
-rw-r--r--plugins/DevicesDetection/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DevicesDetection/functions.php b/plugins/DevicesDetection/functions.php
index 92f2ebba4d..578c2f3493 100644
--- a/plugins/DevicesDetection/functions.php
+++ b/plugins/DevicesDetection/functions.php
@@ -17,7 +17,7 @@ use DeviceDetector\Parser\Client\Browser AS BrowserParser;
function getBrandLogo($label)
{
$path = 'plugins/Morpheus/icons/dist/brand/%s.png';
- $label = preg_replace("/[^a-z0-9_-]+/i", "_", $label);
+ $label = preg_replace("/[^a-z0-9_\-äöü]+/i", "_", $label);
if (!file_exists(PIWIK_INCLUDE_PATH . '/' . sprintf($path, $label))) {
$label = "unk";
}