mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Fix timesheet sum
This commit is contained in:
parent
1d5bcc7194
commit
c158a32c72
@ -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'];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user