diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-19 08:09:01 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-19 08:09:01 +0300 |
commit | 0d0f7f21be558435e746653b790f90ad5e361688 (patch) | |
tree | fbac47da49be37cb4fe8e6e8e1a1d031265299e4 /core/DataTable/Filter/ExcludeLowPopulation.php | |
parent | 7e102cab5646b641dae316af554405668c9b0ed4 (diff) |
Fixes #8580 Notice - Undefined property: Piwik\DataTable\Filter\ExcludeLowPopulation::$columnToFilter
Diffstat (limited to 'core/DataTable/Filter/ExcludeLowPopulation.php')
-rw-r--r-- | core/DataTable/Filter/ExcludeLowPopulation.php | 3 |
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; |