diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-10-01 22:33:49 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-10-01 22:33:49 +0300 |
commit | 067752977a5bfa5a8944b7a5936827855f1d814d (patch) | |
tree | 2db73466e059091d0fedfcbadf315fad02b647af /core/Plugin/Visualization.php | |
parent | 9af471116b03fae1f82e5c0d2b7e3666d570d926 (diff) |
Ensure idSite param has correct type (#13514)
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r-- | core/Plugin/Visualization.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php index 6d948ae536..4a895df666 100644 --- a/core/Plugin/Visualization.php +++ b/core/Plugin/Visualization.php @@ -301,7 +301,7 @@ class Visualization extends ViewDataTable { $request = $this->request->getRequestArray() + $_GET + $_POST; - $idSite = Common::getRequestVar('idSite', null, 'string', $request); + $idSite = Common::getRequestVar('idSite', null, 'int', $request); $module = $this->requestConfig->getApiModuleToRequest(); $action = $this->requestConfig->getApiMethodToRequest(); |