diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-01-12 12:01:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 12:01:13 +0300 |
commit | 57b8ce837f85e9990d85bf391963acec81378a22 (patch) | |
tree | 7a73a15ecaa16be408aca260cc0175c766dbd71c | |
parent | c57ad5e33bbb6afe610994cc9cdc60b676ee59c9 (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.php | 2 |
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; } |