diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2018-10-30 23:26:38 +0300 |
---|---|---|
committer | Stefan Giehl <stefan@piwik.org> | 2018-10-30 23:26:38 +0300 |
commit | c289385a275ed2c22c224d40191b328c97f3064c (patch) | |
tree | 8307b6c7d16c63ef711024bd8a8c02e512355d80 /plugins/Ecommerce/Controller.php | |
parent | d2c2ff1228647dbc21fe1160b06b1e45e2d4b2db (diff) |
After 3.6.1 update, error in e-commerce widget and overview "please specify a value for date" (#13651)
Seems to be pretty much the only usage of strDate (checked if it is used in other places too).
Diffstat (limited to 'plugins/Ecommerce/Controller.php')
-rw-r--r-- | plugins/Ecommerce/Controller.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Ecommerce/Controller.php b/plugins/Ecommerce/Controller.php index 1d527f2f62..64ace214d1 100644 --- a/plugins/Ecommerce/Controller.php +++ b/plugins/Ecommerce/Controller.php @@ -78,11 +78,12 @@ class Controller extends \Piwik\Plugins\Goals\Controller $idGoal = Common::getRequestVar('idGoal', null, 'string'); $period = Common::getRequestVar('period', null, 'string'); $segment = Common::getRequestVar('segment', '', 'string'); + $date = Common::getRequestVar('date', '', 'string'); $goalMetrics = Request::processRequest('Goals.get', [ 'idGoal' => $idGoal, 'idSite' => $this->idSite, - 'date' => $this->strDate, + 'date' => $date, 'period' => $period, 'segment' => $segment, 'filter_limit' => '-1' |