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:
Diffstat (limited to 'core/JqplotDataGenerator/Evolution.php')
-rw-r--r--core/JqplotDataGenerator/Evolution.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/JqplotDataGenerator/Evolution.php b/core/JqplotDataGenerator/Evolution.php
index 50fd2a61a2..47c85f0724 100644
--- a/core/JqplotDataGenerator/Evolution.php
+++ b/core/JqplotDataGenerator/Evolution.php
@@ -10,6 +10,7 @@
*/
use Piwik\Piwik;
use Piwik\Common;
+use Piwik\DataTable;
/**
* Generates JQPlot JSON data/config for evolution graphs.
@@ -29,8 +30,8 @@ class Piwik_JqplotDataGenerator_Evolution extends Piwik_JqplotDataGenerator
protected function initChartObjectData($dataTable)
{
// if the loaded datatable is a simple DataTable, it is most likely a plugin plotting some custom data
- // we don't expect plugin developers to return a well defined Piwik_DataTable_Array
- if ($dataTable instanceof Piwik_DataTable) {
+ // we don't expect plugin developers to return a well defined Set
+ if ($dataTable instanceof DataTable) {
return parent::initChartObjectData($dataTable);
}