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
path: root/core
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-03-01 11:42:34 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-03-01 11:46:57 +0400
commit702e4d26518696336635d012b9f4deffa51f57a7 (patch)
tree480f200bbe848e2bd9e9b8a0ea32df33f2a5921b /core
parent78d234f834aecf8e3b713c5de1a3a23f424b77ea (diff)
Revert changes, !count -> empty()
No need for array_values
Diffstat (limited to 'core')
-rw-r--r--core/DataTable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/DataTable.php b/core/DataTable.php
index a8bd09a288..c45d170d9f 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -1176,7 +1176,7 @@ class Piwik_DataTable
// if we detect such a "simple" data structure we convert it to a row with the correct columns' names
$thisIsNotThatSimple = false;
- foreach(array_values($array) as $columnValue )
+ foreach($array as $columnValue )
{
if(is_array($columnValue) || is_object($columnValue))
{