diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Live/VisitorDetails.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/VisitorDetails.php b/plugins/Live/VisitorDetails.php index e709ffbb39..aad6fa64d9 100644 --- a/plugins/Live/VisitorDetails.php +++ b/plugins/Live/VisitorDetails.php @@ -97,7 +97,7 @@ class VisitorDetails extends VisitorDetailsAbstract $sitesModel = new \Piwik\Plugins\SitesManager\Model(); - if (isset($action['type']) && $action['type'] == 'outlink' && isset($action['url'])) { + if (isset($action['type']) && in_array($action['type'] ,['outlink', 'download']) && isset($action['url'])) { $action['url'] = html_entity_decode($action['url'], ENT_QUOTES, "UTF-8"); } |