diff options
author | diosmosis <benaka@piwik.pro> | 2014-12-04 07:41:04 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-12-04 07:41:11 +0300 |
commit | 4f1e68ea41116bc84e3eb379bd292249f20cf99e (patch) | |
tree | da548b6867f33e2829fcafeb7f43db91f5f5d4e3 /plugins/CoreHome/DataTableRowAction | |
parent | e7c9010b02c87bee2fd84c20ae076f85fc3902e2 (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')
-rw-r--r-- | plugins/CoreHome/DataTableRowAction/RowEvolution.php | 2 |
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."); |