Fix billed time is empty
This commit is contained in:
parent
f91242c66c
commit
cd242523a5
@ -677,7 +677,7 @@ elseif ($id > 0 || ! empty($ref))
|
|||||||
// Get list of tasks in tasksarray and taskarrayfiltered
|
// Get list of tasks in tasksarray and taskarrayfiltered
|
||||||
// We need all tasks (even not limited to a user because a task to user can have a parent that is not affected to him).
|
// We need all tasks (even not limited to a user because a task to user can have a parent that is not affected to him).
|
||||||
$filteronthirdpartyid = $socid;
|
$filteronthirdpartyid = $socid;
|
||||||
$tasksarray=$taskstatic->getTasksArray(0, 0, $object->id, $filteronthirdpartyid, 0, '', -1, $morewherefilter, 0, 0, 1);
|
$tasksarray=$taskstatic->getTasksArray(0, 0, $object->id, $filteronthirdpartyid, 0, '', -1, $morewherefilter, 0, 0, array(), 1);
|
||||||
// We load also tasks limited to a particular user
|
// We load also tasks limited to a particular user
|
||||||
$tmpuser=new User($db);
|
$tmpuser=new User($db);
|
||||||
if ($search_user_id > 0) $tmpuser->fetch($search_user_id);
|
if ($search_user_id > 0) $tmpuser->fetch($search_user_id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user