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 <thomas.steur@gmail.com>2013-10-17 02:53:19 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-17 02:53:19 +0400
commitc1a3d6e5b1002e082a1cbca1dd000c03628df48b (patch)
tree8ae39f7d4b0fbc7280d1980a5a6efce673a4de90 /core/ViewDataTable.php
parent81ae48ddaa8921f8fe8fa379f5a294b93b34e62e (diff)
workaround for visitor log not loading
Diffstat (limited to 'core/ViewDataTable.php')
-rw-r--r--core/ViewDataTable.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ViewDataTable.php b/core/ViewDataTable.php
index cc43c800d7..5f953838a7 100644
--- a/core/ViewDataTable.php
+++ b/core/ViewDataTable.php
@@ -94,6 +94,10 @@ class ViewDataTable
return new $visualizations[$type]($controllerAction, $apiAction, $defaultReportProperties);
}
+ if (class_exists($type)) {
+ return new $type($controllerAction, $apiAction, $defaultReportProperties);
+ }
+
throw new \Exception(sprintf('Visuzalization type %s not found', $type));
}