diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-10-30 22:21:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 22:21:42 +0300 |
commit | e4f9a638e600ada201739f17319512a32a3120a0 (patch) | |
tree | 6444cd0a002025be7a77f1750c69818721330470 | |
parent | bf52eefb8082c63de1ad9dd0b68d3bf4fed5460b (diff) |
Fix param handling for Controller::getLastUnitGraphAcrossPlugins (#19926)
-rw-r--r-- | core/Plugin/Controller.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Plugin/Controller.php b/core/Plugin/Controller.php index df3dd45447..95034f0280 100644 --- a/core/Plugin/Controller.php +++ b/core/Plugin/Controller.php @@ -425,8 +425,8 @@ abstract class Controller { // load translations from meta data $idSite = Common::getRequestVar('idSite'); - $period = Common::getRequestVar('period'); - $date = Common::getRequestVar('date'); + $period = Piwik::getPeriod(); + $date = Piwik::getDate(); $meta = \Piwik\Plugins\API\API::getInstance()->getReportMetadata($idSite, $period, $date); $columns = array_merge($columnsToDisplay ? $columnsToDisplay : array(), $selectableColumns); |