diff options
author | Fabian Becker <halfdan@xnorfz.de> | 2013-03-01 11:42:34 +0400 |
---|---|---|
committer | Fabian Becker <halfdan@xnorfz.de> | 2013-03-01 11:46:57 +0400 |
commit | 702e4d26518696336635d012b9f4deffa51f57a7 (patch) | |
tree | 480f200bbe848e2bd9e9b8a0ea32df33f2a5921b /core | |
parent | 78d234f834aecf8e3b713c5de1a3a23f424b77ea (diff) |
Revert changes, !count -> empty()
No need for array_values
Diffstat (limited to 'core')
-rw-r--r-- | core/DataTable.php | 2 |
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)) { |