summaryrefslogtreecommitdiff
path: root/app/Model/ProjectDailySummary.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-23 20:21:55 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-23 20:21:55 -0400
commitcdd2080fc0041d71b99862a9aa3542fe6150c6c4 (patch)
treef240da4aee45d4c7da49e7e86d3069ccdbc106fb /app/Model/ProjectDailySummary.php
parentbc6aefe64ca2260d069f8377612cf7226deb30b3 (diff)
Fix issue in aggregate daily project summary
Diffstat (limited to 'app/Model/ProjectDailySummary.php')
-rw-r--r--app/Model/ProjectDailySummary.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/ProjectDailySummary.php b/app/Model/ProjectDailySummary.php
index acffa3a9..04dc5629 100644
--- a/app/Model/ProjectDailySummary.php
+++ b/app/Model/ProjectDailySummary.php
@@ -156,7 +156,7 @@ class ProjectDailySummary extends Base
{
$columns = $this->board->getColumnsList($project_id);
$column_ids = array_keys($columns);
- $metrics = array(array(e('Date')) + $columns);
+ $metrics = array(array_merge(array(e('Date')), array_values($columns)));
$aggregates = array();
// Fetch metrics for the project