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:
authordiosmosis <benaka@piwik.pro>2014-12-04 07:41:04 +0300
committerdiosmosis <benaka@piwik.pro>2014-12-04 07:41:11 +0300
commit4f1e68ea41116bc84e3eb379bd292249f20cf99e (patch)
treeda548b6867f33e2829fcafeb7f43db91f5f5d4e3 /plugins/CoreHome/DataTableRowAction/RowEvolution.php
parente7c9010b02c87bee2fd84c20ae076f85fc3902e2 (diff)
Make sure RowEvolution uses graphEvolution default and make sure this default is saved correctly in client side parameter instead of being overwritten by saved viewDataTable.
Diffstat (limited to 'plugins/CoreHome/DataTableRowAction/RowEvolution.php')
-rw-r--r--plugins/CoreHome/DataTableRowAction/RowEvolution.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
index 2e2631203a..c86b83b2d0 100644
--- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php
+++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php
@@ -81,7 +81,7 @@ class RowEvolution
* @param null|string $graphType
* @throws Exception
*/
- public function __construct($idSite, $date, $graphType = null)
+ public function __construct($idSite, $date, $graphType = 'graphEvolution')
{
$this->apiMethod = Common::getRequestVar('apiMethod', '', 'string');
if (empty($this->apiMethod)) throw new Exception("Parameter apiMethod not set.");