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:
authorStefan Giehl <stefan@matomo.org>2020-02-26 22:48:43 +0300
committerGitHub <noreply@github.com>2020-02-26 22:48:43 +0300
commitbcbdf42154ff40af6ce8276234ffbae19e0370d4 (patch)
tree849804fd94c87a37587bc9d3bbe3ad9ab777d2b3 /plugins/ImageGraph
parent35467f54cd3e1dae889d88ae4f80d4626f9127ed (diff)
Fix CSV export for idSite=all (#15584)
* Ensure idSite=all is handled correctly * apply review feedback * Adds some new tests for CSV exports with idSite=all
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r--plugins/ImageGraph/ImageGraph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImageGraph/ImageGraph.php b/plugins/ImageGraph/ImageGraph.php
index 6706691b3e..a9be03e3a5 100644
--- a/plugins/ImageGraph/ImageGraph.php
+++ b/plugins/ImageGraph/ImageGraph.php
@@ -56,7 +56,7 @@ class ImageGraph extends \Piwik\Plugin
$idSite = $info['idSite'];
// If only one website is selected, we add the Graph URL
- if (empty($idSite)) {
+ if (empty($idSite) || !is_numeric($idSite)) {
return;
}