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:
-rw-r--r--core/ViewDataTable/Factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ViewDataTable/Factory.php b/core/ViewDataTable/Factory.php
index 798e57dc29..8a9b2d5000 100644
--- a/core/ViewDataTable/Factory.php
+++ b/core/ViewDataTable/Factory.php
@@ -145,7 +145,7 @@ class Factory
$type = $defaultType ?: self::DEFAULT_VIEW;
}
} else {
- $type = $defaultViewType;
+ $type = $defaultType ?: $defaultViewType;
}
$params['viewDataTable'] = $type;