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:
authorThomas Steur <tsteur@users.noreply.github.com>2018-01-12 12:01:13 +0300
committerGitHub <noreply@github.com>2018-01-12 12:01:13 +0300
commit57b8ce837f85e9990d85bf391963acec81378a22 (patch)
tree7a73a15ecaa16be408aca260cc0175c766dbd71c
parentc57ad5e33bbb6afe610994cc9cdc60b676ee59c9 (diff)
Fix AnonymousPiwikUsageMeasurement is shown as "third-party" (#12431)
This is because it is comparing here author name instead of owner... We will eventually need to change this to owner in the next version.
-rw-r--r--plugins/CorePluginsAdmin/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php
index 3e00b87b1e..f22a966a83 100644
--- a/plugins/CorePluginsAdmin/Controller.php
+++ b/plugins/CorePluginsAdmin/Controller.php
@@ -229,7 +229,7 @@ class Controller extends Plugin\ControllerAdmin
if (isset($plugin['info']) && isset($plugin['info']['authors'])) {
foreach ($plugin['info']['authors'] as $author) {
- if (in_array(strtolower($author['name']), array('piwik', 'innocraft', 'matomo-org'))) {
+ if (in_array(strtolower($author['name']), array('piwik', 'innocraft', 'matomo', 'matomo-org'))) {
$plugin['isOfficialPlugin'] = true;
break;
}