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/Ecommerce | |
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/Ecommerce')
-rw-r--r-- | plugins/Ecommerce/Reports/Base.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Ecommerce/Reports/Base.php b/plugins/Ecommerce/Reports/Base.php index 775f3e1446..1273a19576 100644 --- a/plugins/Ecommerce/Reports/Base.php +++ b/plugins/Ecommerce/Reports/Base.php @@ -57,7 +57,7 @@ abstract class Base extends Report { $idSite = $infos['idSite']; - if (empty($idSite)) { + if (empty($idSite) || !is_numeric($idSite)) { return false; } |