diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-12-03 23:51:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-03 23:51:18 +0300 |
commit | 29e9ed9fee668f5694f5ff136d453460b5c33b46 (patch) | |
tree | eb075114eaeb47caba7a71a7981024d19887f4a0 /core/DataTable.php | |
parent | 59ba07cba11cd51a49ba5a4946abee0d34c4c7a9 (diff) |
Fix a bug where Piwik returns wrong rows by label (#10947)
* Fix a bug where Piwik returns wrong rows by label
* fix typo
* added test
Diffstat (limited to 'core/DataTable.php')
-rw-r--r-- | core/DataTable.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/DataTable.php b/core/DataTable.php index ba598f3c1d..e653470c6c 100644 --- a/core/DataTable.php +++ b/core/DataTable.php @@ -698,6 +698,7 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess */ public function rebuildIndex() { + $this->rowsIndexByLabel = array(); $this->rebuildIndexContinuously = true; foreach ($this->rows as $id => $row) { |