diff --git a/CHANGELOG.md b/CHANGELOG.md index f14d4cd..5b57530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ There are next changes: +## 1.2.13 + +There are next changes: + +- fixed a fatal error in the aggregator script + ## 1.2.12 There are next changes: diff --git a/src/Badoo/LiveProfilerUI/Aggregator.php b/src/Badoo/LiveProfilerUI/Aggregator.php index 0c90679..7ba2661 100644 --- a/src/Badoo/LiveProfilerUI/Aggregator.php +++ b/src/Badoo/LiveProfilerUI/Aggregator.php @@ -265,6 +265,7 @@ protected function aggregate() : bool protected function aggregateRow(array $map) : array { foreach ($this->fields as $param) { + $map[$param . 's'] = $map[$param . 's'] ?? ''; $map[$param . 's'] = explode(',', rtrim($map[$param . 's'], ',')); $map[$param] = array_sum($map[$param . 's']); foreach ($this->field_variations as $field_variation) {