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:
authormattab <matthieu.aubry@gmail.com>2015-09-19 08:09:01 +0300
committermattab <matthieu.aubry@gmail.com>2015-09-19 08:09:01 +0300
commit0d0f7f21be558435e746653b790f90ad5e361688 (patch)
treefbac47da49be37cb4fe8e6e8e1a1d031265299e4
parent7e102cab5646b641dae316af554405668c9b0ed4 (diff)
Fixes #8580 Notice - Undefined property: Piwik\DataTable\Filter\ExcludeLowPopulation::$columnToFilter
-rw-r--r--core/DataTable/Filter/ExcludeLowPopulation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/DataTable/Filter/ExcludeLowPopulation.php b/core/DataTable/Filter/ExcludeLowPopulation.php
index 9e16cc0ef1..e6a423ef50 100644
--- a/core/DataTable/Filter/ExcludeLowPopulation.php
+++ b/core/DataTable/Filter/ExcludeLowPopulation.php
@@ -87,6 +87,9 @@ class ExcludeLowPopulation extends BaseFilter
*/
public function filter($table)
{
+ if(empty($this->columnToFilter)) {
+ return;
+ }
$minimumValue = $this->minimumValue;
$isValueLowPopulation = function ($value) use ($minimumValue) {
return $value < $minimumValue;