Fix timesheet sum

This commit is contained in:
Nathan Gray 2014-10-15 23:02:42 +00:00
parent 1d5bcc7194
commit c158a32c72

View File

@ -135,11 +135,7 @@ class infolog_merge extends bo_merge
{
$timesheets = array();
$links = egw_link::get_links('infolog',$id,'timesheet');
foreach($links as $link)
{
$timesheets[] = $link['id'];
}
$sum = ExecMethod('timesheet.timesheet_bo.sum',$timesheets);
$sum = ExecMethod('timesheet.timesheet_bo.sum',$links);
$info['$$info_sum_timesheets$$'] = $sum['duration'];
}