Improve pull-request that compare hours

This commit is contained in:
Frederic Guillot
2015-12-14 22:13:11 -05:00
parent db7a9ddf5f
commit 9e1f4fa6c7
5 changed files with 16 additions and 19 deletions

View File

@@ -202,14 +202,14 @@ class ProjectAnalytic extends Base
// Init values
$stats['closed'] = array(
'time_spent' => 0,
'time_estimated' => 0,
);
$stats['open'] = array(
'time_spent' => 0,
'time_estimated' => 0,
);
'time_spent' => 0,
'time_estimated' => 0,
);
$stats['open'] = array(
'time_spent' => 0,
'time_estimated' => 0,
);
// Add times spent and estimated to each status
foreach ($tasks as &$task) {