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:
authorThomas Steur <tsteur@users.noreply.github.com>2016-12-03 23:51:18 +0300
committerGitHub <noreply@github.com>2016-12-03 23:51:18 +0300
commit29e9ed9fee668f5694f5ff136d453460b5c33b46 (patch)
treeeb075114eaeb47caba7a71a7981024d19887f4a0 /core/DataTable.php
parent59ba07cba11cd51a49ba5a4946abee0d34c4c7a9 (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.php1
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) {