diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-26 22:48:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 22:48:43 +0300 |
commit | bcbdf42154ff40af6ce8276234ffbae19e0370d4 (patch) | |
tree | 849804fd94c87a37587bc9d3bbe3ad9ab777d2b3 /plugins/ImageGraph | |
parent | 35467f54cd3e1dae889d88ae4f80d4626f9127ed (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.php | 2 |
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; } |