Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2018-10-30 23:26:38 +0300
committerStefan Giehl <stefan@piwik.org>2018-10-30 23:26:38 +0300
commitc289385a275ed2c22c224d40191b328c97f3064c (patch)
tree8307b6c7d16c63ef711024bd8a8c02e512355d80 /plugins/Ecommerce
parentd2c2ff1228647dbc21fe1160b06b1e45e2d4b2db (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')
-rw-r--r--plugins/Ecommerce/Controller.php3
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'