FIX: printFieldListValue Hook, $obj never set.
Replaced $obj by $task_time, that should be the useful object.
This commit is contained in:
parent
18468e3f18
commit
52523be3ce
1 changed files with 1 additions and 1 deletions
|
|
@ -956,7 +956,7 @@ if (($id > 0 || ! empty($ref)) || $projectidforalltimes > 0)
|
|||
}
|
||||
|
||||
// Fields from hook
|
||||
$parameters=array('arrayfields'=>$arrayfields, 'obj'=>$obj);
|
||||
$parameters=array('arrayfields'=>$arrayfields, 'obj'=>$task_time);
|
||||
$reshook=$hookmanager->executeHooks('printFieldListValue',$parameters); // Note that $action and $object may have been modified by hook
|
||||
print $hookmanager->resPrint;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue